Class: SDM::SnapshotSecretStores

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/svc.rb

Overview

SnapshotSecretStores exposes the read only methods of the SecretStores service for historical queries.

Instance Method Summary collapse

Constructor Details

#initialize(secret_stores) ⇒ SnapshotSecretStores

Returns a new instance of SnapshotSecretStores.



3956
3957
3958
# File 'lib/svc.rb', line 3956

def initialize(secret_stores)
  @secret_stores = secret_stores
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one SecretStore by ID.



3961
3962
3963
3964
3965
3966
3967
3968
3969
# File 'lib/svc.rb', line 3961

def get(
  id,
  deadline: nil
)
  return @secret_stores.get(
           id,
           deadline: deadline,
         )
end

#list(filter, *args, deadline: nil) ⇒ Object

List gets a list of SecretStores matching a given set of criteria.



3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
# File 'lib/svc.rb', line 3972

def list(
  filter,
  *args,
  deadline: nil
)
  return @secret_stores.list(
           filter,
                        *args,
                        deadline: deadline,
         )
end