Skip to content

Quiet option #1036

@jamesdmorgan

Description

@jamesdmorgan

When using exec - would it be possible to add a -q quiet option so it just returns the value of the exec statement (omit the session info)

Or -s (silent) for a curl like approach

ret=$(aws-vault exec some-user -- aws-gate exec some-server "echo hello")

$ echo $ret
 Exiting session with sessionId: 1631645696961993000-0078449126a73e577.hello

I can get around it but it would be a more elegant solution.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions