Method: Flydata::Command::Base#redshift_cluster

Defined in:
lib/flydata/command/base.rb

#redshift_clusterObject



75
76
77
78
79
80
81
82
83
# File 'lib/flydata/command/base.rb', line 75

def redshift_cluster
  return @redshift_cluster if @redshift_cluster
  @redshift_cluster = flydata.redshift_cluster.show_default
  @redshift_cluster['password'] = Flydata::Util::Encryptor.decrypt(
    @redshift_cluster['encrypted_password'],
    data_port['key'],
    'redshift_cluster password')
  @redshift_cluster
end