asgard icon indicating copy to clipboard operation
asgard copied to clipboard

How to configure multiple secret values in Config.groovy?

Open kpbird opened this issue 10 years ago • 1 comments

Hello,

I am trying to configure multiple secret values in Config.groovy file.

I learn that I can configure multiple aws account using following configuration

=========== from document =========== // List of relevant Amazon Web Services account numbers as strings, starting with the // account primarily used by this Asgard instance. All other accounts in the list are // candidates for cross-account sharing of resources such as Amazon Machine Images // (AMIs). When an AMI gets used in an Auto Scaling Group in the current account, // Asgard then attempts to grant launch permissions for that AMI to all other accounts // in this list. grails.awsAccounts = ['123456789012', '098765432109']

// Map of interesting AWS account numbers to account nicknames. These will be // displayed on the home page and may also be used in some parts of the user // interface to show the account nickname instead of the account number.

grails.awsAccountNames = ['123456789012': 'test', '098765432109': 'prod']

Ref :

https://github.com/Netflix/asgard/wiki/Asgard-Configuration

How to provide different secret configuration [value, value] inside that block ?

TIA.

kpbird avatar Oct 02 '13 05:10 kpbird

@kpbird At this point, we don't have great support for this requirement. The best solution right now is to launch two instances of Asgard with different configurations. This is a feature on our radar, so we're working to get to there.

danveloper avatar Mar 07 '14 18:03 danveloper