Skip to content

OIDC credential unable to use in other steps #684

@macbash

Description

@macbash

Describe the bug

Hi Team,

im assuming an OIDC role using "aws-actions/configure-aws-credentials" which works fine, but while I need the AWS creds like AWS_ACCESS_KEY_ID, SESSION_TOKEN, I have tried to use the in other steps like ${{env. AWS_ACCESS_KEY_ID }} in docker build-args which isn't working, is there any correct way of getting the credentials and passing to docker build ?

Expected Behavior

Docker build to get some files from s3 as part of the process, its has to work, currently its failed due to unable to locate credentials

Current Behavior

failure in docker build

Reproduction Steps

how to get the creds from aws-actions/configure-aws-credentials and pass to other steps like docker build

Possible Solution

No response

Additional Information/Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    closing-soonThis issue will automatically close in 2 days unless further comments are made.response-requestedWaiting on additional info and feedback. Will move to 'closing-soon' in 5 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions