i 'd like to run 'kubectl apply -f xx.yaml' or some other kubectl commands in pipeline , but don't want to config $aws_access_id , $aws_access_key in pipeline. is it possible to realize?I have successfully configured oidc with ecr auth follow this:
and pipeline works now.
Bitbucket pipelines has a concept of variables and secrets!
You can use it to store the AWS credentials in 2 separate secrets and have the pipeline yml refer to those. We do this with great success.
See: https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.