google_secret_manager_secrets resource
Use the google_secret_manager_secrets
InSpec audit resource to to test a Google Cloud Secret resource.
Examples
describe google_secret_manager_secrets(parent: ' value_parent') do
it { should exist }
end
Properties
Properties that can be accessed from the google_secret_manager_secrets
resource:
See google_secret_manager_secret for more detailed information.
names
: an array ofgoogle_secret_manager_secret
namecreate_times
: an array ofgoogle_secret_manager_secret
create_timelabels
: an array ofgoogle_secret_manager_secret
labelsreplications
: an array ofgoogle_secret_manager_secret
replicationtopics
: an array ofgoogle_secret_manager_secret
topicsexpire_times
: an array ofgoogle_secret_manager_secret
expire_timettls
: an array ofgoogle_secret_manager_secret
ttlrotations
: an array ofgoogle_secret_manager_secret
rotationsecret_ids
: an array ofgoogle_secret_manager_secret
secret_id
Filter criteria
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
GCP permissions
Ensure the Secret Manager API is enabled for the current project.