Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
doc: updated doc for dynamic secret to have user template input
=99d88f768738
diff --git a/docs/documentation/platform/dynamic-secrets/aws-elasticache.mdx b/docs/documentation/platform/dynamic-secrets/aws-elasticache.mdxindex 2cf4edc0e4..de8278a8f9 100644--- a/docs/documentation/platform/dynamic-secrets/aws-elasticache.mdx+++ b/docs/documentation/platform/dynamic-secrets/aws-elasticache.mdx@@ -60,7 +60,7 @@ The Infisical AWS ElastiCache dynamic secret allows you to generate AWS ElastiCa<Step title="Click on the 'Add Dynamic Secret' button"></Step>- <Step title="Select 'AWS ElastiCache'">+ <Step title="Select AWS ElastiCache"></Step><Step title="Provide the inputs for dynamic secret parameters">@@ -94,21 +94,29 @@ The Infisical AWS ElastiCache dynamic secret allows you to generate AWS ElastiCa</Step><Step title="(Optional) Modify ElastiCache Statements">- If you want to provide specific privileges for the generated dynamic credentials, you can modify the ElastiCache statement to your needs. This is useful if you want to only give access to a specific table(s).+ + <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.- + Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize ElastiCache Statement" type="string">+ If you want to provide specific privileges for the generated dynamic credentials, you can modify the ElastiCache statement to your needs. This is useful if you want to only give access to a specific table(s).+ </ParamField></Step><Step title="Click `Submit`">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.<Note>- If this step fails, you may have to add the CA certificate.+ If this step fails, you may have to add the CA certificate.</Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.@@ -123,14 +131,14 @@ The Infisical AWS ElastiCache dynamic secret allows you to generate AWS ElastiCa</Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.</Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.+Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete a lease before it's set time to live.@@ -141,4 +149,4 @@ To extend the life of the generated dynamic secret leases past its initial time<Warning>Lease renewals cannot exceed the maximum TTL set when configuring the dynamic secret-</Warning>\ No newline at end of file+</Warning>diff --git a/docs/documentation/platform/dynamic-secrets/aws-iam.mdx b/docs/documentation/platform/dynamic-secrets/aws-iam.mdxindex 730e2b2875..56a10419c2 100644--- a/docs/documentation/platform/dynamic-secrets/aws-iam.mdx+++ b/docs/documentation/platform/dynamic-secrets/aws-iam.mdx@@ -40,7 +40,7 @@ Infisical needs an initial AWS IAM user with the required permissions to create}```-To minimize managing user access you can attach a resource in format+To minimize managing user access you can attach a resource in format> arn:aws:iam::\<account-id\>:user/\<aws-scope-path\>@@ -94,28 +94,36 @@ Replace **\<account id\>** with your AWS account id and **\<aws-scope-path\>** w</ParamField><ParamField path="AWS IAM Groups" type="string">- The AWS IAM groups that should be assigned to the created users. Multiple values can be provided by separating them with commas+ The AWS IAM groups that should be assigned to the created users. Multiple values can be provided by separating them with commas</ParamField>-+<ParamField path="AWS Policy ARNs" type="string">- The AWS IAM managed policies that should be attached to the created users. Multiple values can be provided by separating them with commas+ The AWS IAM managed policies that should be attached to the created users. Multiple values can be provided by separating them with commas</ParamField><ParamField path="AWS IAM Policy Document" type="string">- The AWS IAM inline policy that should be attached to the created users. Multiple values can be provided by separating them with commas+ The AWS IAM inline policy that should be attached to the created users. Multiple values can be provided by separating them with commas+</ParamField>++<ParamField path="Username Template" type="string" default="{{randomUsername}}">+Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.++Allowed template variables are+- `{{randomUsername}}`: Random username string+- `{{unixTimestamp}}`: Current Unix timestamp</ParamField></Step><Step title="Click 'Submit'">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.</Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.@@ -130,14 +138,14 @@ Replace **\<account id\>** with your AWS account id and **\<aws-scope-path\>** w</Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.</Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.+Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the lease details and delete the lease ahead of its expiration time.diff --git a/docs/documentation/platform/dynamic-secrets/cassandra.mdx b/docs/documentation/platform/dynamic-secrets/cassandra.mdxindex e7ec4f69da..0c4221f53c 100644--- a/docs/documentation/platform/dynamic-secrets/cassandra.mdx+++ b/docs/documentation/platform/dynamic-secrets/cassandra.mdx@@ -7,7 +7,7 @@ The Infisical Cassandra dynamic secret allows you to generate Cassandra database## Prerequisite-Infisical requires a Cassandra user in your instance with the necessary permissions. This user will facilitate the creation of new accounts as needed.+Infisical requires a Cassandra user in your instance with the necessary permissions. This user will facilitate the creation of new accounts as needed.Ensure the user possesses privileges for creating, dropping, and granting permissions to roles for it to be able to create dynamic secrets.<Tip>@@ -19,7 +19,7 @@ authorizer: CassandraAuthorizer```</Tip>-The above configuration allows user creation and granting permissions.+The above configuration allows user creation and granting permissions.## Set up Dynamic Secrets with Cassandra@@ -69,31 +69,39 @@ The above configuration allows user creation and granting permissions.<ParamField path="Keyspace" type="string">Keyspace name where you want to create dynamic secrets. This ensures that the user is limited to that keyspace.</ParamField>-+<ParamField path="CA(SSL)" type="string">- A CA may be required if your cassandra requires it for incoming connections.+ A CA may be required if your cassandra requires it for incoming connections.</ParamField></Step><Step title="(Optional) Modify CQL Statements">- If you want to provide specific privileges for the generated dynamic credentials, you can modify the CQL statement to your needs. This is useful if you want to only give access to a specific key-space(s).+ + <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.- + Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize CQL Statement" type="string">+ If you want to provide specific privileges for the generated dynamic credentials, you can modify the CQL statement to your needs. This is useful if you want to only give access to a specific key-space(s).+ </ParamField></Step><Step title="Click 'Submit'">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.<Note>- If this step fails, you may have to add the CA certficate.+ If this step fails, you may have to add the CA certficate.</Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.@@ -108,14 +116,14 @@ The above configuration allows user creation and granting permissions.</Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.</Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.+Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the lease details and delete the lease ahead of its expiration time.diff --git a/docs/documentation/platform/dynamic-secrets/elastic-search.mdx b/docs/documentation/platform/dynamic-secrets/elastic-search.mdxindex 0e1bc5104a..6c5028bb24 100644--- a/docs/documentation/platform/dynamic-secrets/elastic-search.mdx+++ b/docs/documentation/platform/dynamic-secrets/elastic-search.mdx@@ -7,13 +7,14 @@ The Infisical Elasticsearch dynamic secret allows you to generate Elasticsearch## Prerequisites--1. Create a role with at least `manage_security` and `monitor` permissions.2. Assign the newly created role to your API key or user that you'll use later in the dynamic secret configuration.<Note>- For testing purposes, you can also use a highly privileged role like `superuser`, that will have full control over the cluster. This is not recommended in production environments following the principle of least privilege.+ For testing purposes, you can also use a highly privileged role like+ `superuser`, that will have full control over the cluster. This is not+ recommended in production environments following the principle of least+ privilege.</Note>## Set up Dynamic Secrets with Elasticsearch@@ -33,95 +34,115 @@ The Infisical Elasticsearch dynamic secret allows you to generate ElasticsearchName by which you want the secret to be referenced</ParamField>- <ParamField path="Default TTL" type="string" required>- Default time-to-live for a generated secret (it is possible to modify this value after a secret is generated)- </ParamField>+ <ParamField path="Default TTL" type="string" required>+ Default time-to-live for a generated secret (it is possible to modify this value after a secret is generated)+ </ParamField>- <ParamField path="Max TTL" type="string" required>- Maximum time-to-live for a generated secret.- </ParamField>+ <ParamField path="Max TTL" type="string" required>+ Maximum time-to-live for a generated secret.+ </ParamField>- <ParamField path="Host" type="string" required>+ <ParamField path="Host" type="string" required>Your Elasticsearch host. This is the endpoint that your instance runs on. _(Example: https://your-cluster-ip)_- </ParamField>-- <ParamField path="Port" type="string" required>- The port that your Elasticsearch instance is running on. _(Example: 9200)_- </ParamField>-- <ParamField path="Roles" type="string[]" required>- The roles that the new user that is created when a lease is provisioned will be assigned to. This is a required field. This defaults to `superuser`, which is highly privileged. It is recommended to create a new role with the least privileges required for the lease.- </ParamField>-- <ParamField path="Authentication Method" type="API Key | Username/Password" required>- Select the authentication method you want to use to connect to your Elasticsearch instance.- </ParamField>-- <ParamField path="Username" type="string" required>- The username of the user that will be used to provision new dynamic secret leases. Only required if you selected the `Username/Password` authentication method.- </ParamField>-- <ParamField path="Password" type="string" required>- The password of the user that will be used to provision new dynamic secret leases. Only required if you selected the `Username/Password` authentication method.- </ParamField>-- <ParamField path="API Key ID" required>- The ID of the API key that will be used to provision new dynamic secret leases. Only required if you selected the `API Key` authentication method.- </ParamField>+ </ParamField>- <ParamField path="API Key" required>- The API key that will be used to provision new dynamic secret leases. Only required if you selected the `API Key` authentication method.- </ParamField>+ <ParamField path="Port" type="string" required>- <ParamField path="CA(SSL)" type="string">- A CA may be required if your DB requires it for incoming connections. This is often the case when connecting to a managed service.- </ParamField>+The port that your Elasticsearch instance is running on. _(Example: 9200)_+</ParamField>- +<ParamField path="Roles" type="string[]" required>+ The roles that the new user that is created when a lease is provisioned will+ be assigned to. This is a required field. This defaults to `superuser`, which+ is highly privileged. It is recommended to create a new role with the least+ privileges required for the lease.+</ParamField>+ <ParamField path="Authentication Method" type="API Key | Username/Password" required>+ Select the authentication method you want to use to connect to your Elasticsearch instance.+ </ParamField>++<ParamField path="Username" type="string" required>+ The username of the user that will be used to provision new dynamic secret+ leases. Only required if you selected the `Username/Password` authentication+ method.+</ParamField>++<ParamField path="Password" type="string" required>+ The password of the user that will be used to provision new dynamic secret+ leases. Only required if you selected the `Username/Password` authentication+ method.+</ParamField>++<ParamField path="API Key ID" required>+ The ID of the API key that will be used to provision new dynamic secret+ leases. Only required if you selected the `API Key` authentication method.+</ParamField>++<ParamField path="API Key" required>+ The API key that will be used to provision new dynamic secret leases. Only+ required if you selected the `API Key` authentication method.+</ParamField>++ <ParamField path="CA(SSL)" type="string">+ A CA may be required if your DB requires it for incoming connections. This is often the case when connecting to a managed service.+ </ParamField>+ <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.++ Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>++</Step><Step title="Click `Submit`">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.- <Note>- If this step fails, you may have to add the CA certificate.- </Note>+ <Note>+ If this step fails, you may have to add the CA certificate.+ </Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.- - + + ++ When generating these secrets, it's important to specify a Time-to-Live (TTL) duration. This will dictate how long the credentials are valid for.- When generating these secrets, it's important to specify a Time-to-Live (TTL) duration. This will dictate how long the credentials are valid for.+ - + <Tip>+ Ensure that the TTL for the lease fall within the maximum TTL defined when configuring the dynamic secret.+ </Tip>- <Tip>- Ensure that the TTL for the lease fall within the maximum TTL defined when configuring the dynamic secret.- </Tip>+ Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.- Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.+ - </Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.++Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete a lease before it's set time to live.## Renew Leases+To extend the life of the generated dynamic secret leases past its initial time to live, simply click on the **Renew** button as illustrated below.<Warning>- Lease renewals cannot exceed the maximum TTL set when configuring the dynamic secret+ Lease renewals cannot exceed the maximum TTL set when configuring the dynamic+ secret</Warning>diff --git a/docs/documentation/platform/dynamic-secrets/ldap.mdx b/docs/documentation/platform/dynamic-secrets/ldap.mdxindex a1731432cd..1a3eca404a 100644--- a/docs/documentation/platform/dynamic-secrets/ldap.mdx+++ b/docs/documentation/platform/dynamic-secrets/ldap.mdx@@ -123,6 +123,13 @@ The Infisical LDAP dynamic secret allows you to generate user credentials on demchangetype: delete```</ParamField>+ <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.++ Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField></Step><Step title="Click `Submit`">diff --git a/docs/documentation/platform/dynamic-secrets/mongo-atlas.mdx b/docs/documentation/platform/dynamic-secrets/mongo-atlas.mdxindex 5eda1669e3..9830787962 100644--- a/docs/documentation/platform/dynamic-secrets/mongo-atlas.mdx+++ b/docs/documentation/platform/dynamic-secrets/mongo-atlas.mdx@@ -6,11 +6,10 @@ description: "Learn how to dynamically generate Mongo Atlas Database user credenThe Infisical Mongo Atlas dynamic secret allows you to generate Mongo Atlas Database credentials on demand based on configured role.## Prerequisite+Create a project scopped API Key with the required permission in your Mongo Atlas following the [official doc](https://www.mongodb.com/docs/atlas/configure-api-access/#grant-programmatic-access-to-a-project).-<Info>- The API Key must have permission to manage users in the project.-</Info>+<Info>The API Key must have permission to manage users in the project.</Info>## Set up Dynamic Secrets with Mongo Atlas@@ -29,86 +28,104 @@ Create a project scopped API Key with the required permission in your Mongo AtlaName by which you want the secret to be referenced</ParamField>- <ParamField path="Default TTL" type="string" required>- Default time-to-live for a generated secret (it is possible to modify this value after a secret is generated)- </ParamField>+ <ParamField path="Default TTL" type="string" required>+ Default time-to-live for a generated secret (it is possible to modify this value after a secret is generated)+ </ParamField>- <ParamField path="Max TTL" type="string" required>- Maximum time-to-live for a generated secret- </ParamField>+ <ParamField path="Max TTL" type="string" required>+ Maximum time-to-live for a generated secret+ </ParamField>- <ParamField path="Admin public key" type="string" required>- The public key of your generated Atlas API Key. This acts as a username.- </ParamField>+ <ParamField path="Admin public key" type="string" required>+ The public key of your generated Atlas API Key. This acts as a username.+ </ParamField>- <ParamField path="Admin private key" type="string" required>- The private key of your generated Atlas API Key. This acts as a password.- </ParamField>+ <ParamField path="Admin private key" type="string" required>+ The private key of your generated Atlas API Key. This acts as a password.+ </ParamField>- <ParamField path="Group ID" type="number" required>- Unique 24-hexadecimal digit string that identifies your project. This is same as project id- </ParamField>+ <ParamField path="Group ID" type="number" required>+ Unique 24-hexadecimal digit string that identifies your project. This is same as project id+ </ParamField>- <ParamField path="Roles" type="string" required>- List that provides the pairings of one role with one applicable database.- - **Database Name**: Database to which the user is granted access privileges.- - **Collection**: Collection on which this role applies.- - **Role Name**: Human-readable label that identifies a group of privileges assigned to a database user. This value can either be a built-in role or a custom role.- - Enum: `atlasAdmin` `backup` `clusterMonitor` `dbAdmin` `dbAdminAnyDatabase` `enableSharding` `read` `readAnyDatabase` `readWrite` `readWriteAnyDatabase` `<a custom role name>`.- </ParamField>+ <ParamField path="Roles" type="string" required>+ List that provides the pairings of one role with one applicable database.+ - **Database Name**: Database to which the user is granted access privileges.+ - **Collection**: Collection on which this role applies.+ - **Role Name**: Human-readable label that identifies a group of privileges assigned to a database user. This value can either be a built-in role or a custom role.+ - Enum: `atlasAdmin` `backup` `clusterMonitor` `dbAdmin` `dbAdminAnyDatabase` `enableSharding` `read` `readAnyDatabase` `readWrite` `readWriteAnyDatabase` `<a custom role name>`.+ </ParamField>- + </Step><Step title="(Optional) Modify Access Scope">- List that contains clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances that this database user can access. If omitted, MongoDB Cloud grants the database user access to all the clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances in the project.- - - **Label**: Human-readable label that identifies the cluster or MongoDB Atlas Data Lake that this database user can access.- - **Type**: Category of resource that this database user can access.+++ <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.++ Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize Scope" type="string">++ List that contains clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances that this database user can access. If omitted, MongoDB Cloud grants the database user access to all the clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances in the project.+ - **Label**: Human-readable label that identifies the cluster or MongoDB Atlas Data Lake that this database user can access.+ - **Type**: Category of resource that this database user can access.++ </ParamField></Step>+<Step title="Click 'Submit'">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.- <Note>- If this step fails, you may have to add the CA certficate.- </Note>+ <Note>+ If this step fails, you may have to add the CA certficate.+ </Note>++ - </Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.- - + + ++ When generating these secrets, it's important to specify a Time-to-Live (TTL) duration. This will dictate how long the credentials are valid for.- When generating these secrets, it's important to specify a Time-to-Live (TTL) duration. This will dictate how long the credentials are valid for.+ - + <Tip>+ Ensure that the TTL for the lease fall within the maximum TTL defined when configuring the dynamic secret.+ </Tip>- <Tip>- Ensure that the TTL for the lease fall within the maximum TTL defined when configuring the dynamic secret.- </Tip>+ Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.- Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.+ - </Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.++Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete a lease before it's set time to live.## Renew Leases+To extend the life of the generated dynamic secret leases past its initial time to live, simply click on the **Renew** button as illustrated below.<Warning>- Lease renewals cannot exceed the maximum TTL set when configuring the dynamic secret+ Lease renewals cannot exceed the maximum TTL set when configuring the dynamic+ secret</Warning>diff --git a/docs/documentation/platform/dynamic-secrets/mongo-db.mdx b/docs/documentation/platform/dynamic-secrets/mongo-db.mdxindex ec384f7a96..f719224736 100644--- a/docs/documentation/platform/dynamic-secrets/mongo-db.mdx+++ b/docs/documentation/platform/dynamic-secrets/mongo-db.mdx@@ -62,25 +62,32 @@ Create a user with the required permission in your MongoDB instance. This user wHuman-readable label that identifies a group of privileges assigned to a database user. This value can either be a built-in role or a custom role.- Enum: `atlasAdmin` `backup` `clusterMonitor` `dbAdmin` `dbAdminAnyDatabase` `enableSharding` `read` `readAnyDatabase` `readWrite` `readWriteAnyDatabase` `<a custom role name>`.</ParamField>-+<ParamField path="CA(SSL)" type="string">A CA may be required if your DB requires it for incoming connections.</ParamField>+ <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.++ Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField></Step><Step title="Click `Submit`">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.<Note>- If this step fails, you may have to add the CA certificate.+ If this step fails, you may have to add the CA certificate.</Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.@@ -95,14 +102,14 @@ Create a user with the required permission in your MongoDB instance. This user w</Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.</Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.+Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete a lease before it's set time to live.diff --git a/docs/documentation/platform/dynamic-secrets/mssql.mdx b/docs/documentation/platform/dynamic-secrets/mssql.mdxindex 2a279ce90f..4fc710e013 100644--- a/docs/documentation/platform/dynamic-secrets/mssql.mdx+++ b/docs/documentation/platform/dynamic-secrets/mssql.mdx@@ -62,7 +62,7 @@ Create a user with the required permission in your SQL instance. This user will<ParamField path="Database Name" type="string" required>Name of the database for which you want to create dynamic secrets</ParamField>-+<ParamField path="CA(SSL)" type="string">A CA may be required if your DB requires it for incoming connections. AWS RDS instances with default settings will requires a CA which can be downloaded [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html#UsingWithRDS.SSL.CertificatesAllRegions).</ParamField>@@ -71,22 +71,30 @@ Create a user with the required permission in your SQL instance. This user will</Step><Step title="(Optional) Modify SQL Statements">- If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs. This is useful if you want to only give access to a specific table(s).+ + <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.- + Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize SQL Statement" type="string">+ If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs. This is useful if you want to only give access to a specific table(s).+ </ParamField></Step><Step title="Click 'Submit'">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.<Note>- If this step fails, you may have to add the CA certficate.+ If this step fails, you may have to add the CA certficate.</Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.@@ -101,14 +109,14 @@ Create a user with the required permission in your SQL instance. This user will</Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.</Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.+Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete the lease before it's set time to live.diff --git a/docs/documentation/platform/dynamic-secrets/mysql.mdx b/docs/documentation/platform/dynamic-secrets/mysql.mdxindex f88a88d350..6f708ebba5 100644--- a/docs/documentation/platform/dynamic-secrets/mysql.mdx+++ b/docs/documentation/platform/dynamic-secrets/mysql.mdx@@ -61,29 +61,37 @@ Create a user with the required permission in your SQL instance. This user will<ParamField path="Database Name" type="string" required>Name of the database for which you want to create dynamic secrets</ParamField>-+<ParamField path="CA(SSL)" type="string">A CA may be required if your DB requires it for incoming connections. AWS RDS instances with default settings will requires a CA which can be downloaded [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html#UsingWithRDS.SSL.CertificatesAllRegions).</ParamField></Step><Step title="(Optional) Modify SQL Statements">- If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs. This is useful if you want to only give access to a specific table(s).+ + <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.- + Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize SQL Statement" type="string">+ If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs. This is useful if you want to only give access to a specific table(s).+ </ParamField></Step><Step title="Click `Submit`">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.<Note>- If this step fails, you may have to add the CA certificate.+ If this step fails, you may have to add the CA certificate.</Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.@@ -98,14 +106,14 @@ Create a user with the required permission in your SQL instance. This user will</Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.</Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.+Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete a lease before it's set time to live.@@ -116,4 +124,4 @@ To extend the life of the generated dynamic secret leases past its initial time<Warning>Lease renewals cannot exceed the maximum TTL set when configuring the dynamic secret-</Warning>\ No newline at end of file+</Warning>diff --git a/docs/documentation/platform/dynamic-secrets/oracle.mdx b/docs/documentation/platform/dynamic-secrets/oracle.mdxindex c7b34bec94..c1a15fd9fc 100644--- a/docs/documentation/platform/dynamic-secrets/oracle.mdx+++ b/docs/documentation/platform/dynamic-secrets/oracle.mdx@@ -61,7 +61,7 @@ Create a user with the required permission in your SQL instance. This user will<ParamField path="Database Name" type="string" required>Name of the database for which you want to create dynamic secrets</ParamField>-+<ParamField path="CA(SSL)" type="string">A CA may be required if your DB requires it for incoming connections. AWS RDS instances with default settings will requires a CA which can be downloaded [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html#UsingWithRDS.SSL.CertificatesAllRegions).</ParamField>@@ -70,20 +70,30 @@ Create a user with the required permission in your SQL instance. This user will</Step><Step title="(Optional) Modify SQL Statements">+ + <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.++ Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize SQL Statement" type="string">If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs. This is useful if you want to only give access to a specific table(s).+ </ParamField></Step><Step title="Click 'Submit'">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.<Note>- If this step fails, you may have to add the CA certficate.+ If this step fails, you may have to add the CA certficate.</Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.@@ -98,14 +108,14 @@ Create a user with the required permission in your SQL instance. This user will</Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.</Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.+Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete a lease before it's set time to live.@@ -116,4 +126,4 @@ To extend the life of the generated dynamic secret leases past its initial time<Warning>Lease renewals cannot exceed the maximum TTL set when configuring the dynamic secret-</Warning>\ No newline at end of file+</Warning>diff --git a/docs/documentation/platform/dynamic-secrets/postgresql.mdx b/docs/documentation/platform/dynamic-secrets/postgresql.mdxindex feb81d6d60..f6012d2777 100644--- a/docs/documentation/platform/dynamic-secrets/postgresql.mdx+++ b/docs/documentation/platform/dynamic-secrets/postgresql.mdx@@ -62,7 +62,7 @@ Create a user with the required permission in your SQL instance. This user will<ParamField path="Database Name" type="string" required>Name of the database for which you want to create dynamic secrets</ParamField>-+<ParamField path="CA(SSL)" type="string">A CA may be required if your DB requires it for incoming connections. AWS RDS instances with default settings will requires a CA which can be downloaded [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html#UsingWithRDS.SSL.CertificatesAllRegions).</ParamField>@@ -71,22 +71,30 @@ Create a user with the required permission in your SQL instance. This user will</Step><Step title="(Optional) Modify SQL Statements">- If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs. This is useful if you want to only give access to a specific table(s).-+ <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.++ Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize SQL Statement" type="string">+ If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs. This is useful if you want to only give access to a specific table(s).+ </ParamField></Step><Step title="Click 'Submit'">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.<Note>- If this step fails, you may have to add the CA certficate.+ If this step fails, you may have to add the CA certficate.</Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.@@ -101,14 +109,14 @@ Create a user with the required permission in your SQL instance. This user will</Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials for it will be shown to you.</Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.+Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete the lease before it's set time to live.diff --git a/docs/documentation/platform/dynamic-secrets/rabbit-mq.mdx b/docs/documentation/platform/dynamic-secrets/rabbit-mq.mdxindex 6ac5ac069d..4ec7a62ab9 100644--- a/docs/documentation/platform/dynamic-secrets/rabbit-mq.mdx+++ b/docs/documentation/platform/dynamic-secrets/rabbit-mq.mdx@@ -9,7 +9,6 @@ The Infisical RabbitMQ dynamic secret allows you to generate RabbitMQ credential1. Ensure that the `management` plugin is enabled on your RabbitMQ instance. This is required for the dynamic secret to work.-## Set up Dynamic Secrets with RabbitMQ<Steps>@@ -19,98 +18,116 @@ The Infisical RabbitMQ dynamic secret allows you to generate RabbitMQ credential<Step title="Click on the 'Add Dynamic Secret' button"></Step>- <Step title="Select 'RabbitMQ'">- + <Step title="Select RabbitMQ">+ </Step><Step title="Provide the inputs for dynamic secret parameters"><ParamField path="Secret Name" type="string" required>Name by which you want the secret to be referenced</ParamField>- <ParamField path="Default TTL" type="string" required>- Default time-to-live for a generated secret (it is possible to modify this value after a secret is generated)- </ParamField>+ <ParamField path="Default TTL" type="string" required>+ Default time-to-live for a generated secret (it is possible to modify this value after a secret is generated)+ </ParamField>- <ParamField path="Max TTL" type="string" required>- Maximum time-to-live for a generated secret.- </ParamField>+ <ParamField path="Max TTL" type="string" required>+ Maximum time-to-live for a generated secret.+ </ParamField>- <ParamField path="Host" type="string" required>+ <ParamField path="Host" type="string" required>Your RabbitMQ host. This must be in HTTP format. _(Example: http://your-cluster-ip)_- </ParamField>+ </ParamField>- <ParamField path="Port" type="string" required>- The port that the RabbitMQ management plugin is listening on. This is `15672` by default.- </ParamField>+ <ParamField path="Port" type="string" required>- <ParamField path="Virtual host name" type="string" required>- The name of the virtual host that the user will be assigned to. This defaults to `/`.- </ParamField>+The port that the RabbitMQ management plugin is listening on. This is `15672` by default.+</ParamField>++<ParamField path="Virtual host name" type="string" required>+ The name of the virtual host that the user will be assigned to. This defaults+ to `/`.+</ParamField><ParamField path="Virtual host permissions (Read/Write/Configure)" type="string" required>The permissions that the user will have on the virtual host. This defaults to `.*`.The three permission fields all take a regular expression _(regex)_, that should match resource names for which the user is granted read / write / configuration permissions+</ParamField>+<ParamField path="Username" type="string" required>+ The username of the user that will be used to provision new dynamic secret+ leases.+</ParamField>- <ParamField path="Username" type="string" required>- The username of the user that will be used to provision new dynamic secret leases.- </ParamField>+<ParamField path="Password" type="string" required>+ The password of the user that will be used to provision new dynamic secret+ leases.+</ParamField>- <ParamField path="Password" type="string" required>- The password of the user that will be used to provision new dynamic secret leases.+ <ParamField path="CA(SSL)" type="string">+ A CA may be required if your DB requires it for incoming connections. This is often the case when connecting to a managed service.</ParamField>+<ParamField path="Username Template" type="string" default="{{randomUsername}}">+Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.- <ParamField path="CA(SSL)" type="string">- A CA may be required if your DB requires it for incoming connections. This is often the case when connecting to a managed service.- </ParamField>+Allowed template variables are+- `{{randomUsername}}`: Random username string+- `{{unixTimestamp}}`: Current Unix timestamp+</ParamField>- +<ParamField path="CA(SSL)" type="string">+ A CA may be required if your DB requires it for incoming connections. This is often the case when connecting to a managed service.+</ParamField>+</Step><Step title="Click `Submit`">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.- <Note>- If this step fails, you may have to add the CA certificate.- </Note>+ <Note>+ If this step fails, you may have to add the CA certificate.+ </Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.- - + + - When generating these secrets, it's important to specify a Time-to-Live (TTL) duration. This will dictate how long the credentials are valid for.+ When generating these secrets, it's important to specify a Time-to-Live (TTL) duration. This will dictate how long the credentials are valid for.- + - <Tip>- Ensure that the TTL for the lease fall within the maximum TTL defined when configuring the dynamic secret.- </Tip>+ <Tip>+ Ensure that the TTL for the lease fall within the maximum TTL defined when configuring the dynamic secret.+ </Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.++ - </Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.++Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete a lease before it's set time to live.## Renew Leases+To extend the life of the generated dynamic secret leases past its initial time to live, simply click on the **Renew** button as illustrated below.<Warning>- Lease renewals cannot exceed the maximum TTL set when configuring the dynamic secret+ Lease renewals cannot exceed the maximum TTL set when configuring the dynamic+ secret</Warning>diff --git a/docs/documentation/platform/dynamic-secrets/redis.mdx b/docs/documentation/platform/dynamic-secrets/redis.mdxindex 43fbc6b615..b3e5852044 100644--- a/docs/documentation/platform/dynamic-secrets/redis.mdx+++ b/docs/documentation/platform/dynamic-secrets/redis.mdx@@ -56,21 +56,29 @@ Create a user with the required permission in your Redis instance. This user wil</Step><Step title="(Optional) Modify Redis Statements">- If you want to provide specific privileges for the generated dynamic credentials, you can modify the Redis statement to your needs. This is useful if you want to only give access to a specific table(s).+ + <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.- + Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize Redis Statement" type="string">+ If you want to provide specific privileges for the generated dynamic credentials, you can modify the Redis statement to your needs. This is useful if you want to only give access to a specific table(s).+ </ParamField></Step><Step title="Click `Submit`">- After submitting the form, you will see a dynamic secret created in the dashboard.+ After submitting the form, you will see a dynamic secret created in the dashboard.<Note>- If this step fails, you may have to add the CA certificate.+ If this step fails, you may have to add the CA certificate.</Note></Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.@@ -85,14 +93,14 @@ Create a user with the required permission in your Redis instance. This user wil</Tip>- Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.+ Once you click the `Submit` button, a new secret lease will be generated and the credentials from it will be shown to you.</Step></Steps>## Audit or Revoke Leases-Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.+Once you have created one or more leases, you will be able to access them by clicking on the respective dynamic secret item on the dashboard.This will allow you to see the expiration time of the lease or delete a lease before it's set time to live.@@ -103,4 +111,4 @@ To extend the life of the generated dynamic secret leases past its initial time<Warning>Lease renewals cannot exceed the maximum TTL set when configuring the dynamic secret-</Warning>\ No newline at end of file+</Warning>diff --git a/docs/documentation/platform/dynamic-secrets/sap-ase.mdx b/docs/documentation/platform/dynamic-secrets/sap-ase.mdxindex 3b7a895fbc..2737ab0849 100644--- a/docs/documentation/platform/dynamic-secrets/sap-ase.mdx+++ b/docs/documentation/platform/dynamic-secrets/sap-ase.mdx@@ -62,21 +62,30 @@ The Infisical SAP ASE dynamic secret allows you to generate SAP ASE database cre</Step>- <Step title="(Optional) Modify SQL Statements">- If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs.+ <Step title="(Optional) Modify SAP SQL Statements">+ <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.- <Warning>- Due to SAP ASE limitations, the attached SQL statements are not executed as a transaction.- </Warning>+ Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize Statement" type="string">++If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs.+<Warning>+Due to SAP ASE limitations, the attached SQL statements are not executed as a transaction.+</Warning>+</ParamField></Step><Step title="Click 'Submit'">After submitting the form, you will see a dynamic secret created in the dashboard.</Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.diff --git a/docs/documentation/platform/dynamic-secrets/sap-hana.mdx b/docs/documentation/platform/dynamic-secrets/sap-hana.mdxindex 6687775493..597d698030 100644--- a/docs/documentation/platform/dynamic-secrets/sap-hana.mdx+++ b/docs/documentation/platform/dynamic-secrets/sap-hana.mdx@@ -62,14 +62,25 @@ The Infisical SAP HANA dynamic secret allows you to generate SAP HANA database c</Step>- <Step title="(Optional) Modify SQL Statements">- If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs.- + <Step title="(Optional) Modify SAP SQL Statements">+ + <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.++ Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize Statement" type="string">++ If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL statement to your needs.<Warning>Due to SAP HANA limitations, the attached SQL statements are not executed as a transaction.</Warning>+</ParamField>+</Step><Step title="Click 'Submit'">After submitting the form, you will see a dynamic secret created in the dashboard.@@ -80,8 +91,8 @@ The Infisical SAP HANA dynamic secret allows you to generate SAP HANA database c</Step><Step title="Generate dynamic secrets">- Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.- To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.+ Once you've successfully configured the dynamic secret, you're ready to generate on-demand credentials.+ To do this, simply click on the 'Generate' button which appears when hovering over the dynamic secret item.Alternatively, you can initiate the creation of a new lease by selecting 'New Lease' from the dynamic secret lease list section.diff --git a/docs/documentation/platform/dynamic-secrets/snowflake.mdx b/docs/documentation/platform/dynamic-secrets/snowflake.mdxindex 75db96c8f1..86378bbf68 100644--- a/docs/documentation/platform/dynamic-secrets/snowflake.mdx+++ b/docs/documentation/platform/dynamic-secrets/snowflake.mdx@@ -8,22 +8,27 @@ Infisical's Snowflake dynamic secrets allow you to generate Snowflake user crede## Snowflake Prerequisites<Note>- Infisical requires a Snowflake user in your account with the USERADMIN role. This user will act as a service account for Infisical and facilitate the creation of new users as needed.+ Infisical requires a Snowflake user in your account with the USERADMIN role.+ This user will act as a service account for Infisical and facilitate the+ creation of new users as needed.</Note><Steps>- <Step title="Navigate to Snowflake's User Dashboard and press the '+ User' button">- - </Step>- <Step title="Create a Snowflake user with the USERADMIN role for Infisical">- <Warning>- Be sure to uncheck "Force user to change password on first time login"- </Warning>- - </Step>- <Step title="Click on the Account Menu in the bottom left and take note of your Account and Organization identifiers">- - </Step>+ <Step title="Navigate to Snowflake's User Dashboard and press the '+ User' button">+ + </Step>+ <Step title="Create a Snowflake user with the USERADMIN role for Infisical">+ <Warning>+ Be sure to uncheck "Force user to change password on first time login"+ </Warning>+ + </Step>+ <Step title="Click on the Account Menu in the bottom left and take note of your Account and Organization identifiers">+ + </Step></Steps>## Set up Dynamic Secrets with Snowflake@@ -71,10 +76,23 @@ Infisical's Snowflake dynamic secrets allow you to generate Snowflake user crede</Step><Step title="(Optional) Modify SQL Statements">- If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL- statement to your needs.- </Step>+ <ParamField path="Username Template" type="string" default="{{randomUsername}}">+ Specifies a template for generating usernames. This field allows customization of how usernames are automatically created.++ Allowed template variables are+ - `{{randomUsername}}`: Random username string+ - `{{unixTimestamp}}`: Current Unix timestamp+ </ParamField>+ <ParamField path="Customize Statement" type="string">++ If you want to provide specific privileges for the generated dynamic credentials, you can modify the SQL+ statement to your needs.++</ParamField>++ </Step>+<Step title="Click 'Submit'">After submitting the form, you will see a dynamic secret created in the dashboard.</Step>@@ -104,6 +122,7 @@ Infisical's Snowflake dynamic secrets allow you to generate Snowflake user crede</Step>+</Steps>## Audit or Revoke Leases@@ -119,6 +138,6 @@ To extend the life of the generated dynamic secret lease past its initial time t<Warning>- Lease renewals cannot exceed the maximum TTL set when configuring the dynamic- secret.+ Lease renewals cannot exceed the maximum TTL set when configuring the dynamic+ secret.</Warning>diff --git a/docs/images/platform/dynamic-secrets/advanced-option-atlas.png b/docs/images/platform/dynamic-secrets/advanced-option-atlas.pngindex 50c9f89bd8..5ddf3920e4 100644Binary files a/docs/images/platform/dynamic-secrets/advanced-option-atlas.png and b/docs/images/platform/dynamic-secrets/advanced-option-atlas.png differdiff --git a/docs/images/platform/dynamic-secrets/dynamic-secret-input-modal-elastic-search.png b/docs/images/platform/dynamic-secrets/dynamic-secret-input-modal-elastic-search.pngindex 14d2d48b20..fd78343027 100644Binary files a/docs/images/platform/dynamic-secrets/dynamic-secret-input-modal-elastic-search.png and b/docs/images/platform/dynamic-secrets/dynamic-secret-input-modal-elastic-search.png differdiff --git a/docs/images/platform/dynamic-secrets/dynamic-secret-mongodb.png b/docs/images/platform/dynamic-secrets/dynamic-secret-mongodb.pngindex d3a804f8f0..e978c7d30f 100644Binary files a/docs/images/platform/dynamic-secrets/dynamic-secret-mongodb.png and b/docs/images/platform/dynamic-secrets/dynamic-secret-mongodb.png differdiff --git a/docs/images/platform/dynamic-secrets/dynamic-secret-setup-modal-aws-iam.png b/docs/images/platform/dynamic-secrets/dynamic-secret-setup-modal-aws-iam.pngindex d412109fa3..0ba6aa1721 100644Binary files a/docs/images/platform/dynamic-secrets/dynamic-secret-setup-modal-aws-iam.png and b/docs/images/platform/dynamic-secrets/dynamic-secret-setup-modal-aws-iam.png differdiff --git a/docs/images/platform/dynamic-secrets/modify-cql-statements.png b/docs/images/platform/dynamic-secrets/modify-cql-statements.pngindex d1e1b9b98f..6bbb447801 100644Binary files a/docs/images/platform/dynamic-secrets/modify-cql-statements.png and b/docs/images/platform/dynamic-secrets/modify-cql-statements.png differdiff --git a/docs/images/platform/dynamic-secrets/modify-elasticache-statement.png b/docs/images/platform/dynamic-secrets/modify-elasticache-statement.pngindex c8cd662d0e..d9675849d9 100644Binary files a/docs/images/platform/dynamic-secrets/modify-elasticache-statement.png and b/docs/images/platform/dynamic-secrets/modify-elasticache-statement.png differdiff --git a/docs/images/platform/dynamic-secrets/modify-redis-statement.png b/docs/images/platform/dynamic-secrets/modify-redis-statement.pngindex c9726f752a..d37cf9bd0a 100644Binary files a/docs/images/platform/dynamic-secrets/modify-redis-statement.png and b/docs/images/platform/dynamic-secrets/modify-redis-statement.png differdiff --git a/docs/images/platform/dynamic-secrets/modify-sap-hana-sql-statements.png b/docs/images/platform/dynamic-secrets/modify-sap-hana-sql-statements.pngindex 973fcf731b..bfff5baa08 100644Binary files a/docs/images/platform/dynamic-secrets/modify-sap-hana-sql-statements.png and b/docs/images/platform/dynamic-secrets/modify-sap-hana-sql-statements.png differdiff --git a/docs/images/platform/dynamic-secrets/modify-sql-statement-mysql.png b/docs/images/platform/dynamic-secrets/modify-sql-statement-mysql.pngindex 8ad9fc0e3a..312a63d6c2 100644Binary files a/docs/images/platform/dynamic-secrets/modify-sql-statement-mysql.png and b/docs/images/platform/dynamic-secrets/modify-sql-statement-mysql.png differdiff --git a/docs/images/platform/dynamic-secrets/modify-sql-statement-oracle.png b/docs/images/platform/dynamic-secrets/modify-sql-statement-oracle.pngindex 0874aa23de..800ef05b1b 100644Binary files a/docs/images/platform/dynamic-secrets/modify-sql-statement-oracle.png and b/docs/images/platform/dynamic-secrets/modify-sql-statement-oracle.png differdiff --git a/docs/images/platform/dynamic-secrets/modify-sql-statements-mssql.png b/docs/images/platform/dynamic-secrets/modify-sql-statements-mssql.pngindex e399db47da..58c33e6552 100644Binary files a/docs/images/platform/dynamic-secrets/modify-sql-statements-mssql.png and b/docs/images/platform/dynamic-secrets/modify-sql-statements-mssql.png differdiff --git a/docs/images/platform/dynamic-secrets/modify-sql-statements.png b/docs/images/platform/dynamic-secrets/modify-sql-statements.pngindex d0f3b09da3..feda348300 100644Binary files a/docs/images/platform/dynamic-secrets/modify-sql-statements.png and b/docs/images/platform/dynamic-secrets/modify-sql-statements.png differdiff --git a/docs/images/platform/dynamic-secrets/sap-ase/dynamic-secret-sap-ase-statements.png b/docs/images/platform/dynamic-secrets/sap-ase/dynamic-secret-sap-ase-statements.pngindex 9ac56f456b..c133505b7b 100644Binary files a/docs/images/platform/dynamic-secrets/sap-ase/dynamic-secret-sap-ase-statements.png and b/docs/images/platform/dynamic-secrets/sap-ase/dynamic-secret-sap-ase-statements.png differdiff --git a/docs/images/platform/dynamic-secrets/snowflake/dynamic-secret-snowflake-sql-statements.png b/docs/images/platform/dynamic-secrets/snowflake/dynamic-secret-snowflake-sql-statements.pngindex 44c41bd520..fc7e9f6636 100644Binary files a/docs/images/platform/dynamic-secrets/snowflake/dynamic-secret-snowflake-sql-statements.png and b/docs/images/platform/dynamic-secrets/snowflake/dynamic-secret-snowflake-sql-statements.png differ