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.



4700
4701
4702
# File 'lib/svc.rb', line 4700

def initialize(secret_stores)
  @secret_stores = secret_stores
end

Instance Method Details

#get(id, deadline: nil) ⇒ Object

Get reads one SecretStore by ID.



4705
4706
4707
4708
4709
4710
4711
4712
4713
# File 'lib/svc.rb', line 4705

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.



4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
# File 'lib/svc.rb', line 4716

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