This repository was archived by the owner on Feb 15, 2024. It is now read-only.
Description I was able to create creds with
az ad sp create-for-rbac --name myServicePrincipal --password mypwd
AZURE_CLIENT_ID=appId
AZURE_CLIENT_OID=principalId
AZURE_CLIENT_SECRET
Most of the examples ran fine, but it errored out at:
RUNNING: enable_soft_delete_on_existing_vault
creating vault vault-lone-cousin-93749
created vault vault-lone-cousin-93749 https://vault-lone-cousin-93749.vault.azure.net/
ERROR: running sample failed with raised exception:
Traceback (most recent call last):
File "/Users/kbroughton/projects/key-vault-recovery-python/key_vault_sample_base.py", line 55, in wrapper
f(self)
File "/Users/kbroughton/projects/key-vault-recovery-python/soft_delete_sample.py", line 96, in enable_soft_delete_on_existing_vault
print('updated vault {} enable_soft_delete={}'.format(vault.name, vault.properties.enable_soft_delete))
AttributeError: 'LROPoller' object has no attribute 'name'
I'm running on mac osx 10.13.6
python 3.6.4
cloned the repo yesterday and installed requirements.
Reactions are currently unavailable
I was able to create creds with
az ad sp create-for-rbac --name myServicePrincipal --password mypwd
AZURE_CLIENT_ID=appId
AZURE_CLIENT_OID=principalId
AZURE_CLIENT_SECRET
Most of the examples ran fine, but it errored out at:
RUNNING: enable_soft_delete_on_existing_vault
creating vault vault-lone-cousin-93749
created vault vault-lone-cousin-93749 https://vault-lone-cousin-93749.vault.azure.net/
ERROR: running sample failed with raised exception:
Traceback (most recent call last):
File "/Users/kbroughton/projects/key-vault-recovery-python/key_vault_sample_base.py", line 55, in wrapper
f(self)
File "/Users/kbroughton/projects/key-vault-recovery-python/soft_delete_sample.py", line 96, in enable_soft_delete_on_existing_vault
print('updated vault {} enable_soft_delete={}'.format(vault.name, vault.properties.enable_soft_delete))
AttributeError: 'LROPoller' object has no attribute 'name'
I'm running on mac osx 10.13.6
python 3.6.4
cloned the repo yesterday and installed requirements.