Skip to content

Using env PC_SDK_SUBSCRIPTION_KEY token via planetary_computer library not working #182

Answered by TomAugspurger
ZirconCode asked this question in Q&A
Discussion options

You must be logged in to vote

I've set the environment variable, with the value to an API token created via my hub access (hub>tokens drop-down)

This makes it sound like you created a JupyterHub token.

For the SAS API, you would want a token from the "developer portal" at https://planetarycomputer.developer.azure-api.net/. See https://planetarycomputer.microsoft.com/docs/concepts/sas/#when-an-account-is-needed for more.

Apologies for the confusion. Ideally you wouldn't need to worry about multiple tokens, but that's the system we have at the moment.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZirconCode
Comment options

Answer selected by ZirconCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants