Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

error on enable_soft_delete_on_existing_vault: LROPoller object has no attr name #7

Description

@kbroughton

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions