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

fixed bugs in the Azure Key Vault secret provider readme #737

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

Aaronontheweb
Copy link
Contributor

No description provided.

@@ -25,7 +27,7 @@ az keyvault create -l westus -n pulumi --resource-group $RESOURCE_GROUP_NAME
az keyvault key create --name pulumi-secret --vault-name pulumi

# Finally, set the relevant permissions on the keyvault
az keyvault set-policy --name pulumi --object-id $YOUR_OBJECT_ID --key-permissions decrypt get create delete list update import backup restore recover
az keyvault set-policy --name pulumi --object-id $YOUR_OBJECT_ID --key-permissions decrypt get create delete list update import backup restore recover encrypt
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without the encrypt permission set here, you'll get 403 errors back during pulumi init

@@ -17,6 +17,8 @@ You should also ensure:

## Create an Azure Keyvault Key

> `$YOUR_OBJECT_ID` in this case corresponds to the object ID of the Azure ServicePrincipal or account currently logged into the `az` CLI. You will likely need to run a ` az ad sp show --id {app id} | jq -r .objectId` or `az ad user show --id {user id}` query to get this value.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessary, but added it to make life easier

@jaxxstorm
Copy link
Contributor

Thanks for the contribution!

@stack72
Copy link
Contributor

stack72 commented Jul 1, 2020

Thank you!!! Ignore these failed tests - we just added a step that doesn't seem to work from forks :/ Will fix

@stack72 stack72 merged commit 8cce466 into pulumi:master Jul 1, 2020
@Aaronontheweb Aaronontheweb deleted the patch-1 branch July 2, 2020 01:38
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

Successfully merging this pull request may close these issues.

3 participants