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

xcube gen2 DataStore configuration to understand env var references #580

Closed
AliceBalfanz opened this issue Jan 12, 2022 · 0 comments · Fixed by #582
Closed

xcube gen2 DataStore configuration to understand env var references #580

AliceBalfanz opened this issue Jan 12, 2022 · 0 comments · Fixed by #582
Labels
DCFS enhancement New feature or request xcube gen This is related to data cube generation, CLI "xcube gen"

Comments

@AliceBalfanz
Copy link
Contributor

I want to configure a data store which contains input files to be used xcube gen2 service generator. The data is located in an s3 bucket which is protected, so my configuration looks like the following:

my_data:
  title: "My Data for xcube gen2"
  store_id: s3
  store_params:
    root: "<bucket-path>"
    storage_options:
      key: "${MY_ACCESS_KEY_ID}"
      secret: "${MY_SECRET_ACCESS_KEY}"

This leads into an "Access denied" issue. When I put the credentials straight into the configuration, it works as expected. I wish for the same behavior when using env var references. :)

@AliceBalfanz AliceBalfanz added enhancement New feature or request xcube gen This is related to data cube generation, CLI "xcube gen" DCFS labels Jan 12, 2022
forman added a commit that referenced this issue Jan 14, 2022
@forman forman mentioned this issue Jan 14, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DCFS enhancement New feature or request xcube gen This is related to data cube generation, CLI "xcube gen"
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant