Lists Secrets.
Arguments
parent
string
Required. The resource name of the project associated with the Secrets, in the format projects/*
.
filter
string
Optional. Filter string, adhering to the rules in List-operation filtering . List only secrets matching the filter. If filter is empty, all secrets are listed.
pageSize
integer ( int32
format)
Optional. The maximum number of results to be returned in a single page. If set to 0, the server decides the number of results to return. If the number is greater than 25000, it is capped at 25000.
pageToken
string
Optional. Pagination token, returned earlier via ListSecretsResponse.next_page_token.
Raised exceptions
ConnectionError
HttpError
TimeoutError
TypeError
ValueError
Response
If successful, the response contains an instance of ListSecretsResponse
.
Subworkflow snippet
Some fields might be optional or required. To identify required fields, refer to the API documentation .
YAML
- list : call : googleapis.secretmanager.v1.projects.secrets.list args : parent : ... filter : ... pageSize : ... pageToken : ... result : listResult
JSON
[ { "list" : { "call" : "googleapis.secretmanager.v1.projects.secrets.list" , "args" : { "parent" : "..." , "filter" : "..." , "pageSize" : "..." , "pageToken" : "..." }, "result" : "listResult" } } ]

