Method: Fog.credential
- Defined in:
- lib/fog/core/credentials.rb
.credential ⇒ Symbol
Note:
This can be set using the FOG_CREDENTIAL environment variable
This is the named credential from amongst the configuration file being used or :default
40 41 42 |
# File 'lib/fog/core/credentials.rb', line 40 def self.credential @credential ||= (ENV["FOG_CREDENTIAL"] && ENV["FOG_CREDENTIAL"].to_sym) || :default end |