mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 02:27:39 +00:00
Feat: Support for Machine Identities auth
This commit is contained in:
@@ -101,6 +101,7 @@ type GetAllFoldersParameters struct {
|
|||||||
Environment string
|
Environment string
|
||||||
FoldersPath string
|
FoldersPath string
|
||||||
InfisicalToken string
|
InfisicalToken string
|
||||||
|
UniversalAuthAccessToken string
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateFolderParameters struct {
|
type CreateFolderParameters struct {
|
||||||
@@ -123,3 +124,8 @@ type ExpandSecretsAuthentication struct {
|
|||||||
InfisicalToken string
|
InfisicalToken string
|
||||||
UniversalAuthAccessToken string
|
UniversalAuthAccessToken string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type MachineIdentityCredentials struct {
|
||||||
|
ClientId string
|
||||||
|
ClientSecret string
|
||||||
|
}
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ const (
|
|||||||
INFISICAL_DEFAULT_URL = "https://app.infisical.com"
|
INFISICAL_DEFAULT_URL = "https://app.infisical.com"
|
||||||
INFISICAL_WORKSPACE_CONFIG_FILE_NAME = ".infisical.json"
|
INFISICAL_WORKSPACE_CONFIG_FILE_NAME = ".infisical.json"
|
||||||
INFISICAL_TOKEN_NAME = "INFISICAL_TOKEN"
|
INFISICAL_TOKEN_NAME = "INFISICAL_TOKEN"
|
||||||
|
INFISICAL_UNIVERSAL_AUTH_CLIENT_ID = "INFISICAL_UNIVERSAL_AUTH_CLIENT_ID"
|
||||||
|
INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET = "INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET"
|
||||||
SECRET_TYPE_PERSONAL = "personal"
|
SECRET_TYPE_PERSONAL = "personal"
|
||||||
SECRET_TYPE_SHARED = "shared"
|
SECRET_TYPE_SHARED = "shared"
|
||||||
KEYRING_SERVICE_NAME = "infisical"
|
KEYRING_SERVICE_NAME = "infisical"
|
||||||
|
|||||||
Reference in New Issue
Block a user