runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Give me more details on the secrets needed in an acorn

Open cjellick opened this issue 3 years ago • 1 comments

As a user of an acorn, I want to know what secrets I need to create and with what keys.

acorn run image --help gives some details:

acorn run ccc --help

Volumes:   <none>
Secrets:   root-credentials, db-user-credentials, aws-creds

I'd like to do be able to have the cli tell me the types and fields, so that if i have to create my own secrets to bind over, i have a better idea of what i'm doing.

Per @ibuildthecloud

also as a convention if you use an opaque secret you should put keys so that the user knows what keys are expected

secrets: {
  "aws-creds": {
    type: "opaque"
    data: {
      AWS_KEY: ""
      AWS_THING: ""  
    }  
  }
}

cjellick avatar Jul 27 '22 15:07 cjellick

and comment them so that that can be listed too

cjellick avatar Jul 27 '22 17:07 cjellick