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

Feature: Azure CLI Client #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Feature: Azure CLI Client #2

wants to merge 1 commit into from

Conversation

chrux
Copy link
Member

@chrux chrux commented Mar 25, 2022

This will allow us to connect locally and access to AZ Keyvault by using the Azure CLI account.

You need to install azure cli and set the client for now when initializing the Secret, like this:

$secret = new AzKeyVault\Secret(getenv("KEY_VAULT_URI"), getenv("MANAGED_IDENTITY_CLIENT_ID"), new AzKeyVault\AzureCliClient());

This has been tested just on MacOS.

You need to install azure cli and set the client for now when initializing the Secret, like this:

$secret = new AzKeyVault\Secret(getenv("KEY_VAULT_URI"), getenv("MANAGED_IDENTITY_CLIENT_ID"), new AzKeyVault\AzureCliClient());

This has been tested just on MacOS.
@nickmblain nickmblain removed their request for review April 10, 2024 15:07
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.

1 participant