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_secretnamecreate_times: an array ofgoogle_secret_manager_secretcreate_timelabels: an array ofgoogle_secret_manager_secretlabelsreplications: an array ofgoogle_secret_manager_secretreplicationtopics: an array ofgoogle_secret_manager_secrettopicsexpire_times: an array ofgoogle_secret_manager_secretexpire_timettls: an array ofgoogle_secret_manager_secretttlrotations: an array ofgoogle_secret_manager_secretrotationsecret_ids: an array ofgoogle_secret_manager_secretsecret_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.