Class: Kuby::Azure::Config

Inherits:
Object
  • Object
show all
Extended by:
KubeDSL::ValueFields
Defined in:
lib/kuby/azure/config.rb

Instance Method Summary collapse

Instance Method Details

#hash_valueObject



12
13
14
15
16
17
18
19
# File 'lib/kuby/azure/config.rb', line 12

def hash_value
  parts = [
    tenant_id, client_id, client_secret, subscription_id,
    resource_group_name, resource_name
  ]

  Digest::SHA256.hexdigest(parts.join(':'))
end