Skip to main content

Save Apple credentials to Keychain

Use the following one of the following commands to save your credentials to Keychain.

Astuce

The profile name you give your credentials in Keychain will be used in notarization commands.

Command

Notarization commands begin with:

smctl-mac-x64 notarization save --tool <notarytool or altool> --profile-name <profile name> 

Note

The inputs differ based on the type of Apple credentials and notarize tool you are using.

Flags

Describe scan commands support these flags:

Tableau 1. Flags for describing a keypair

Shortcut

Flag

Description

--input string

Path to file.

--profile-name string

Provide a profile name for your credentials in Keychain.

--tool string

Provide the notarization tool name that should be used to save your credentials to Keychain

Allowed tools:

  • notarytool

  • altool

-v

--verbose

Enable verbose logging for saving credentials.

-h

--help

Help for describing a scan.


Examples

The notarize commands depend on the type of Apple credentials and notarize tool you are using.

Troubleshooting

For help with the describe scan command, use:

smctl-mac-x64 notarization save --help

Alternatively, use the abbreviated version of the command:

smctl-mac-x64 notarization save -h