keyring_secret_delete
Sectech
Removes a specified user created secret from the device.
Only secrets not used (referenced in configuration) can be deleted.
Params
attribute | description |
---|---|
id* string |
ID of the secret to delete |
Return
attribute | description |
---|---|
secrets* [Secret status] |
An array with the status of the secrets present in the device |
Secret status
attribute | description |
---|---|
id* string |
Unique human readable key of the secret |
type* 'pkey_cert'|'cert_single'|'cert_chain'|'dhparam'|'remote_access'|'ssh_private'|'uftp'|'psk'|'openvpn' |
The secret type |
is_empty
bool
| Indicates if the secret is empty. If not spcified false
is assumed.
note
string
| User description of the secret
expiry_tstamp
unsigned integer
| The secret expiry time if applicable
is_read_only
bool
| Indicates manufacturer provided certificate that the user can not remove or alter. Default value is false