github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/yaml/testdata/steps/example10.yaml (about) 1 # Example using the oidc option to connect a pipeline step to a resource server 2 3 pipelines: 4 default: 5 - step: 6 oidc: true 7 script: 8 - echo "I can access data through OpenID Connect!" 9 - aws sts assume-role-with-web-identity --role-arn arn:aws:iam::XXXXXX:role/projectx-build --role-session-name build-session --web-identity-token "$BITBUCKET_STEP_OIDC_TOKEN" --duration-seconds 1000