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

Enable obtaining authorization tokens for ACR #52

Closed
sajayantony opened this issue Jul 15, 2017 · 1 comment
Closed

Enable obtaining authorization tokens for ACR #52

sajayantony opened this issue Jul 15, 2017 · 1 comment
Assignees

Comments

@sajayantony
Copy link
Contributor

sajayantony commented Jul 15, 2017

ACR login currently does a handshake with the ACR oauth2 provider. The token is then used to login on the machine which runs the command. In cases when this credential has to be handed off as a secret into another VM or K8s cluster, we want to be able to generate this token without actually doing a docker login.

az acr credential get-authorization-token

Optionally pass in the scope or an an existing access token which can be used to obtain a token based on the access token passed in. For e.g. using MSI.
We also need to consider extending this command to support generating tokens for SAS kind of scenarios.

/cc @DavidObando @shhsu

@sajayantony
Copy link
Contributor Author

Closing this since we will be enabling a whole token for for ACR.

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