mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
General improvements on auth templates
This commit is contained in:
@@ -148,42 +148,6 @@ export const IDENTITIES = {
|
||||
}
|
||||
} as const;
|
||||
|
||||
export const IDENTITY_TEMPLATES = {
|
||||
CREATE: {
|
||||
name: "The name of the identity template to create.",
|
||||
organizationId: "The organization ID to which the identity template belongs.",
|
||||
authMethod: "The auth method of the template.",
|
||||
credentials: "Set of credentials to reuse by this template"
|
||||
},
|
||||
UPDATE: {
|
||||
identityTemplateId: "The ID of the identity to update.",
|
||||
name: "The new name of the identity template.",
|
||||
authMethod: "The auth method of the template."
|
||||
},
|
||||
DELETE: {
|
||||
identityTemplateId: "The ID of the identity template to delete."
|
||||
},
|
||||
GET_BY_ID: {
|
||||
identityTemplateId: "The ID of the identity template to get details.",
|
||||
organizationId: "The organization ID to which the identity template belongs.",
|
||||
authMethod: "The auth method of the template.",
|
||||
credentials: "Set of credentials used by this template"
|
||||
},
|
||||
LIST: {
|
||||
orgId: "The ID of the organization to list identity templates."
|
||||
},
|
||||
SEARCH: {
|
||||
search: {
|
||||
desc: "The filters to apply to the search.",
|
||||
name: "The name of the identity template to filter by."
|
||||
},
|
||||
offset: "The offset to start from. If you enter 10, it will start from the 10th identity.",
|
||||
limit: "The number of identity templates to return.",
|
||||
orderBy: "The column to order identity templates by.",
|
||||
orderDirection: "The direction to order identity templates in."
|
||||
}
|
||||
};
|
||||
|
||||
export const UNIVERSAL_AUTH = {
|
||||
LOGIN: {
|
||||
clientId: "Your Machine Identity Client ID.",
|
||||
@@ -251,7 +215,7 @@ export const LDAP_AUTH = {
|
||||
password: "The password of the LDAP user to login."
|
||||
},
|
||||
ATTACH: {
|
||||
templateId: "The ID of the template to attach the configuration onto.",
|
||||
templateId: "The ID of the identity auth template to attach the configuration onto.",
|
||||
identityId: "The ID of the identity to attach the configuration onto.",
|
||||
url: "The URL of the LDAP server.",
|
||||
allowedFields:
|
||||
@@ -279,7 +243,7 @@ export const LDAP_AUTH = {
|
||||
accessTokenMaxTTL: "The new maximum lifetime for an access token in seconds.",
|
||||
accessTokenNumUsesLimit: "The new maximum number of times that an access token can be used.",
|
||||
accessTokenTrustedIps: "The new IPs or CIDR ranges that access tokens can be used from.",
|
||||
templateId: "The ID of the template to update the configuration for."
|
||||
templateId: "The ID of the identity auth template to update the configuration to."
|
||||
},
|
||||
RETRIEVE: {
|
||||
identityId: "The ID of the identity to retrieve the configuration for."
|
||||
|
||||
Reference in New Issue
Block a user