Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't leak HP cdn & storage

  • Loading branch information...
commit d180ad49679ec9996e4dc28edf177e71cef80f80 1 parent 1dbc7b4
@freeformz authored
Showing with 4 additions and 0 deletions.
  1. +2 −0  lib/fog/hp/cdn.rb
  2. +2 −0  lib/fog/hp/storage.rb
View
2  lib/fog/hp/cdn.rb
@@ -8,6 +8,8 @@ class HP < Fog::Service
requires :hp_secret_key, :hp_account_id, :hp_tenant_id
recognizes :hp_auth_uri, :hp_cdn_uri, :persistent, :connection_options, :hp_use_upass_auth_style, :hp_auth_version
+ secrets :hp_secret_key
+
model_path 'fog/hp/models/cdn'
request_path 'fog/hp/requests/cdn'
View
2  lib/fog/hp/storage.rb
@@ -8,6 +8,8 @@ class HP < Fog::Service
requires :hp_secret_key, :hp_account_id, :hp_tenant_id
recognizes :hp_auth_uri, :hp_servicenet, :hp_cdn_ssl, :hp_cdn_uri, :persistent, :connection_options, :hp_use_upass_auth_style, :hp_auth_version
+ secrets :hp_secret_key
+
model_path 'fog/hp/models/storage'
model :directory
collection :directories
Please sign in to comment.
Something went wrong with that request. Please try again.