package
0.0.0-20241001110308-5a10fda4ffb7
Repository: https://github.com/arduino/arduino-cloud-cli.git
Documentation: pkg.go.dev
# Functions
FindCredentials looks for credentials in environment variables or in credentials file.
RetrieveCredentials retrieves credentials from environment variables or credentials file.
SetEmptyCredentials sets the default credentials values to empty strings.
# Constants
ClientIDLen specifies the length of Arduino IoT Cloud client ids.
ClientSecretLen specifies the length of Arduino IoT Cloud client secrets.
CredentialsFilename specifies the name of the credentials file.
EnvPrefix is the prefix environment variables should have to be fetched as credentials parameters during the credentials retrieval.
OrganizationLen specifies the length of Arduino IoT Cloud organization.
# Structs
Credentials contains the parameters of Arduino IoT Cloud credentials.