Method: Fog::KeyManager::OpenStack::Real#create_secret

Defined in:
lib/fog/key_manager/openstack/requests/create_secret.rb

#create_secret(options) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/fog/key_manager/openstack/requests/create_secret.rb', line 5

def create_secret(options)
  request(
    :body    => Fog::JSON.encode(options),
    :expects => [201],
    :method  => 'POST',
    :path    => 'secrets'
  )
end