Get a file record by name
GET/api/v1/EncryptedFile/BySecretVaultIdAndName
Returns the details of the file with the given name in a vault secret. The response describes the file but does not include its content.
Permission required: Admin role (or the App role).
Caution: The response identifies stored files for a vault secret.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The body is the file record without its content.
The name is missing or the lookup failed. The body is an error message.
The caller is not signed in.
The signed-in user does not have the required role.
No file with this name exists in the secret.