-
Notifications
You must be signed in to change notification settings - Fork 306
Closed
Labels
Object StorageIssue pertains to the Object Storage serviceIssue pertains to the Object Storage service
Description
Hi SDK group
I would like to list the vaults and then the keys per vault.
Issue to initiate KmsManagementClient
kms_keys = oci.key_management.KmsManagementClient(config)
Throw exception - MissingEndpointForNonRegionalServiceClientError('An endpoint must be provided for a non-regional service client')
Altough the documentation mentioned service_endpoint is optional
Adding service_endpoint from the vault:
kms_keys = oci.key_management.KmsManagementClient(config,service_endpoint=vault.management_endpoint)
But the function list_keys does not have option to filter by vault_id therefore, there is some issue here !
keySummary has vault_id which I need to filter inside a loop
Please advise:
- Why service_endpoint is required when specify optional in documentation
- How do I fetch the key if I have key_id but not vault (need to use KmsManagementClient and get_key but don't have service_endpoint) ?
- Why cannot filter vault_id in list keys
Metadata
Metadata
Assignees
Labels
Object StorageIssue pertains to the Object Storage serviceIssue pertains to the Object Storage service