Esempio n. 1
0
def prompt_s3_secret_values():
    return {
        'AWS_ACCESS_KEY_ID': input.prompt(
            'AWS_ACCESS_KEY_ID', os.getenv('AWS_ACCESS_KEY_ID'),
        ),
        'AWS_SECRET_ACCESS_KEY': input.prompt(
            'AWS_SECRET_ACCESS_KEY', os.getenv('AWS_SECRET_ACCESS_KEY'),
        ),
    }
Esempio n. 2
0
def create_user(args):
    args.client = input.prompt('client in which create the user')
    args.name = input.prompt('username')
    user.create_user(args)
Esempio n. 3
0
def create_backend_secret(args, type):
    args.client = input.prompt('client in which create the secret')
    args.name = input.prompt('backend name')
    values = backend.prompt_secret_values(type)
    backend.create_backend_secret(args, values)
Esempio n. 4
0
def create_client(args):
    args.name = input.prompt('client name')
    client.create_client(args)
Esempio n. 5
0
def create_agent(args):
    args.client = input.prompt('client in which create the agent(s)')
    agent.create_agent(args)