export-login

Log in to the Snap Store with your Ubuntu One SSO credentials. If you do not have any, you can create them at https://login.ubuntu.com

To use the alternative authentication mechanism (Candid), set the environment variable ‘SNAPCRAFT_STORE_AUTH’ to ‘candid’.

This command exports credentials to use on systems where login is not possible or desired. The ‘–acls’ option limits the scope of operations for exported credentials. The complete list of ACLs is available at https://dashboard.snapcraft.io/docs/reference/v1/macaroon.html#reference

Usage

snapcraft export-login [options] <<login-file>>

Required

<login-file>

Where to write the exported credentials, - for stdout.

Options

--acls

Comma-separated list of ACLs to limit access.

--channels

Comma-separated list of channels to limit access.

--expires

Date/time (in ISO 8601) when this exported login expires.

--snaps

Comma-separated list of snaps to limit access.

Global options

-h or --help

Show this help message and exit.

-q or --quiet

Only show warnings and errors, not progress.

-v or --verbose

Show debug information and be more verbose.

--verbosity

Set the verbosity level to ‘quiet’, ‘brief’, ‘verbose’, ‘debug’ or ‘trace’.

-V or --version

Show the application version and exit.