Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to grant s3 temp permissions when using pyiceberg? #1463

Open
chengchengpei opened this issue Dec 22, 2024 · 1 comment
Open

how to grant s3 temp permissions when using pyiceberg? #1463

chengchengpei opened this issue Dec 22, 2024 · 1 comment

Comments

@chengchengpei
Copy link

Question

I am looking into https://py.iceberg.apache.org/configuration/#s3.
i tried s3.access-key-id and s3.secret-access-key. they works well. but now, i am thinking how to grant temp permissions.

i am looking into s3.session-token. I have two questions:

  1. can i specify s3.session-token only without s3.access-key-id and s3.secret-access-key?
  2. how to get the token by aws cli?

I have similar questions about s3.role-arn:
1, how to get this by aws cli?

I know some questions are not relevant to pyiceberg... Any comments welcomed. Thanks

@jayceslesar
Copy link
Contributor

My org uses SSO and we use IAM for cloud runtimes but for local runtimes something like the following:

aws configure export-credentials --profile YOUR_PROFILE_NAME --format env

Will get them into a parseable format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants