oci vault secret list fails when limiting lifecycle-state for PENDING_DELETION
Open
@harshkumar-dev is already working on this.
Since Oct 12, 2020.
Secret Management
- Dominant language
- Python
- Stars
- 669
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
Hi there - I can't seem to get the limit on lifecycle state to work for PENDING_DELETION:
$ oci vault secret list --compartment-id ocid1.compartment.oc1..xxx --lifecycle-state PENDING_DELETION --name "NewSecret"
ServiceError:
{
"code": 400,
"message": "query param lifecycleState must be one of [Creating, Active, Updating, Deleting, Deleted, SchedulingDeletion, PendingDeletion, CancellingDeletion, Failed, UnknownEnumValue]",
"opc-request-id": "xxx",
"status": 400
}
Trying the same with PendingDeletion does not work either:
$ oci vault secret list --compartment-id ocid1.compartment.oc1..xxx --lifecycle-state PendingDeletion --name "NewSecret"
Error: Invalid value for "--lifecycle-state": invalid choice: PendingDeletion. (choose from CREATING, ACTIVE, UPDATING, DELETING, DELETED, SCHEDULING_DELETION, PENDING_DELETION, CANCELLING_DELETION, FAILED)
Am I missing something?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.