Skip to content

Instantly share code, notes, and snippets.

@vasylherman
Created July 23, 2025 09:18
Show Gist options
  • Save vasylherman/2ca1c119e5794aa93df4f6d15b036185 to your computer and use it in GitHub Desktop.
Save vasylherman/2ca1c119e5794aa93df4f6d15b036185 to your computer and use it in GitHub Desktop.
aws iam identity provider
#!/usr/bin/env bash
set -euo pipefail
# === Configurable Parameters ===
PROVIDER_TAG="$1"
GITLAB_ISSUER_URL="https://$PROVIDER_TAG"
GITLAB_AUDIENCE="https://$PROVIDER_TAG" # Default audience used by GitLab
aws iam create-open-id-connect-provider \
--url "$GITLAB_ISSUER_URL" \
--client-id-list "$GITLAB_AUDIENCE" | cat
@vasylherman
Copy link
Author

vasylherman commented Jul 23, 2025

curl -s https://gist.githubusercontent.com/vasylherman/2ca1c119e5794aa93df4f6d15b036185/raw | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment