published on Thursday, Nov 19, 2026 by akeyless-community
published on Thursday, Nov 19, 2026 by akeyless-community
Static secret Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as akeyless from "@pulumi/akeyless";
const secret = new akeyless.StaticSecret("secret", {
path: "terraform/secret",
value: "this value was set from terraform",
});
import pulumi
import pulumi_akeyless as akeyless
secret = akeyless.StaticSecret("secret",
path="terraform/secret",
value="this value was set from terraform")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/akeyless/v2/akeyless"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := akeyless.NewStaticSecret(ctx, "secret", &akeyless.StaticSecretArgs{
Path: pulumi.String("terraform/secret"),
Value: pulumi.String("this value was set from terraform"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Akeyless = Pulumi.Akeyless;
return await Deployment.RunAsync(() =>
{
var secret = new Akeyless.StaticSecret("secret", new()
{
Path = "terraform/secret",
Value = "this value was set from terraform",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.akeyless.StaticSecret;
import com.pulumi.akeyless.StaticSecretArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var secret = new StaticSecret("secret", StaticSecretArgs.builder()
.path("terraform/secret")
.value("this value was set from terraform")
.build());
}
}
resources:
secret:
type: akeyless:StaticSecret
properties:
path: terraform/secret
value: this value was set from terraform
Example coming soon!
Create StaticSecret Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StaticSecret(name: string, args: StaticSecretArgs, opts?: CustomResourceOptions);@overload
def StaticSecret(resource_name: str,
args: StaticSecretArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StaticSecret(resource_name: str,
opts: Optional[ResourceOptions] = None,
path: Optional[str] = None,
protection_key: Optional[str] = None,
output_rules: Optional[Sequence[str]] = None,
custom_field: Optional[Mapping[str, str]] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
enable_agentic_runtime_authority: Optional[bool] = None,
enable_ai_quorum: Optional[bool] = None,
format: Optional[str] = None,
host_provider: Optional[str] = None,
ignore_cache: Optional[str] = None,
inject_urls: Optional[Sequence[str]] = None,
input_rules: Optional[Sequence[str]] = None,
item_custom_fields: Optional[Mapping[str, str]] = None,
keep_prev_version: Optional[str] = None,
max_versions: Optional[str] = None,
multiline_value: Optional[bool] = None,
accessibility: Optional[str] = None,
password: Optional[str] = None,
change_event: Optional[str] = None,
ara_enabled: Optional[bool] = None,
secure_access_enforce_hosts_restriction: Optional[bool] = None,
secure_access_certificate_issuer: Optional[str] = None,
secure_access_enable: Optional[str] = None,
retry: Optional[StaticSecretRetryArgs] = None,
secure_access_gateway: Optional[str] = None,
secure_access_hosts: Optional[Sequence[str]] = None,
secure_access_rdp_user: Optional[str] = None,
secure_access_ssh_creds: Optional[str] = None,
secure_access_ssh_user: Optional[str] = None,
secure_access_url: Optional[str] = None,
secure_access_web: Optional[bool] = None,
secure_access_web_browsing: Optional[bool] = None,
secure_access_web_proxy: Optional[bool] = None,
static_secret_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
targets: Optional[Sequence[str]] = None,
type: Optional[str] = None,
username: Optional[str] = None,
value: Optional[str] = None)func NewStaticSecret(ctx *Context, name string, args StaticSecretArgs, opts ...ResourceOption) (*StaticSecret, error)public StaticSecret(string name, StaticSecretArgs args, CustomResourceOptions? opts = null)
public StaticSecret(String name, StaticSecretArgs args)
public StaticSecret(String name, StaticSecretArgs args, CustomResourceOptions options)
type: akeyless:StaticSecret
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "akeyless_static_secret" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args StaticSecretArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StaticSecretArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StaticSecretArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StaticSecretArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StaticSecretArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var staticSecretResource = new Akeyless.StaticSecret("staticSecretResource", new()
{
Path = "string",
ProtectionKey = "string",
OutputRules = new[]
{
"string",
},
CustomField =
{
{ "string", "string" },
},
DeleteProtection = "string",
Description = "string",
EnableAgenticRuntimeAuthority = false,
EnableAiQuorum = false,
Format = "string",
HostProvider = "string",
IgnoreCache = "string",
InjectUrls = new[]
{
"string",
},
InputRules = new[]
{
"string",
},
ItemCustomFields =
{
{ "string", "string" },
},
KeepPrevVersion = "string",
MaxVersions = "string",
MultilineValue = false,
Accessibility = "string",
Password = "string",
ChangeEvent = "string",
AraEnabled = false,
SecureAccessEnforceHostsRestriction = false,
SecureAccessCertificateIssuer = "string",
SecureAccessEnable = "string",
Retry = new Akeyless.Inputs.StaticSecretRetryArgs
{
ErrorMessageRegexes = new[]
{
"string",
},
IntervalSeconds = 0.0,
MaxIntervalSeconds = 0.0,
MaxRetries = 0.0,
RetryOnStatusCodes = new[]
{
0.0,
},
},
SecureAccessGateway = "string",
SecureAccessHosts = new[]
{
"string",
},
SecureAccessRdpUser = "string",
SecureAccessSshCreds = "string",
SecureAccessSshUser = "string",
SecureAccessUrl = "string",
SecureAccessWeb = false,
SecureAccessWebBrowsing = false,
SecureAccessWebProxy = false,
StaticSecretId = "string",
Tags = new[]
{
"string",
},
Targets = new[]
{
"string",
},
Type = "string",
Username = "string",
Value = "string",
});
example, err := akeyless.NewStaticSecret(ctx, "staticSecretResource", &akeyless.StaticSecretArgs{
Path: pulumi.String("string"),
ProtectionKey: pulumi.String("string"),
OutputRules: pulumi.StringArray{
pulumi.String("string"),
},
CustomField: pulumi.StringMap{
"string": pulumi.String("string"),
},
DeleteProtection: pulumi.String("string"),
Description: pulumi.String("string"),
EnableAgenticRuntimeAuthority: pulumi.Bool(false),
EnableAiQuorum: pulumi.Bool(false),
Format: pulumi.String("string"),
HostProvider: pulumi.String("string"),
IgnoreCache: pulumi.String("string"),
InjectUrls: pulumi.StringArray{
pulumi.String("string"),
},
InputRules: pulumi.StringArray{
pulumi.String("string"),
},
ItemCustomFields: pulumi.StringMap{
"string": pulumi.String("string"),
},
KeepPrevVersion: pulumi.String("string"),
MaxVersions: pulumi.String("string"),
MultilineValue: pulumi.Bool(false),
Accessibility: pulumi.String("string"),
Password: pulumi.String("string"),
ChangeEvent: pulumi.String("string"),
AraEnabled: pulumi.Bool(false),
SecureAccessEnforceHostsRestriction: pulumi.Bool(false),
SecureAccessCertificateIssuer: pulumi.String("string"),
SecureAccessEnable: pulumi.String("string"),
Retry: &akeyless.StaticSecretRetryArgs{
ErrorMessageRegexes: pulumi.StringArray{
pulumi.String("string"),
},
IntervalSeconds: pulumi.Float64(0),
MaxIntervalSeconds: pulumi.Float64(0),
MaxRetries: pulumi.Float64(0),
RetryOnStatusCodes: pulumi.Float64Array{
pulumi.Float64(0),
},
},
SecureAccessGateway: pulumi.String("string"),
SecureAccessHosts: pulumi.StringArray{
pulumi.String("string"),
},
SecureAccessRdpUser: pulumi.String("string"),
SecureAccessSshCreds: pulumi.String("string"),
SecureAccessSshUser: pulumi.String("string"),
SecureAccessUrl: pulumi.String("string"),
SecureAccessWeb: pulumi.Bool(false),
SecureAccessWebBrowsing: pulumi.Bool(false),
SecureAccessWebProxy: pulumi.Bool(false),
StaticSecretId: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Targets: pulumi.StringArray{
pulumi.String("string"),
},
Type: pulumi.String("string"),
Username: pulumi.String("string"),
Value: pulumi.String("string"),
})
resource "akeyless_static_secret" "staticSecretResource" {
lifecycle {
create_before_destroy = true
}
path = "string"
protection_key = "string"
output_rules = ["string"]
custom_field = {
"string" = "string"
}
delete_protection = "string"
description = "string"
enable_agentic_runtime_authority = false
enable_ai_quorum = false
format = "string"
host_provider = "string"
ignore_cache = "string"
inject_urls = ["string"]
input_rules = ["string"]
item_custom_fields = {
"string" = "string"
}
keep_prev_version = "string"
max_versions = "string"
multiline_value = false
accessibility = "string"
password = "string"
change_event = "string"
ara_enabled = false
secure_access_enforce_hosts_restriction = false
secure_access_certificate_issuer = "string"
secure_access_enable = "string"
retry = {
error_message_regexes = ["string"]
interval_seconds = 0
max_interval_seconds = 0
max_retries = 0
retry_on_status_codes = [0]
}
secure_access_gateway = "string"
secure_access_hosts = ["string"]
secure_access_rdp_user = "string"
secure_access_ssh_creds = "string"
secure_access_ssh_user = "string"
secure_access_url = "string"
secure_access_web = false
secure_access_web_browsing = false
secure_access_web_proxy = false
static_secret_id = "string"
tags = ["string"]
targets = ["string"]
type = "string"
username = "string"
value = "string"
}
var staticSecretResource = new StaticSecret("staticSecretResource", StaticSecretArgs.builder()
.path("string")
.protectionKey("string")
.outputRules("string")
.customField(Map.of("string", "string"))
.deleteProtection("string")
.description("string")
.enableAgenticRuntimeAuthority(false)
.enableAiQuorum(false)
.format("string")
.hostProvider("string")
.ignoreCache("string")
.injectUrls("string")
.inputRules("string")
.itemCustomFields(Map.of("string", "string"))
.keepPrevVersion("string")
.maxVersions("string")
.multilineValue(false)
.accessibility("string")
.password("string")
.changeEvent("string")
.araEnabled(false)
.secureAccessEnforceHostsRestriction(false)
.secureAccessCertificateIssuer("string")
.secureAccessEnable("string")
.retry(StaticSecretRetryArgs.builder()
.errorMessageRegexes("string")
.intervalSeconds(0.0)
.maxIntervalSeconds(0.0)
.maxRetries(0.0)
.retryOnStatusCodes(0.0)
.build())
.secureAccessGateway("string")
.secureAccessHosts("string")
.secureAccessRdpUser("string")
.secureAccessSshCreds("string")
.secureAccessSshUser("string")
.secureAccessUrl("string")
.secureAccessWeb(false)
.secureAccessWebBrowsing(false)
.secureAccessWebProxy(false)
.staticSecretId("string")
.tags("string")
.targets("string")
.type("string")
.username("string")
.value("string")
.build());
static_secret_resource = akeyless.StaticSecret("staticSecretResource",
path="string",
protection_key="string",
output_rules=["string"],
custom_field={
"string": "string",
},
delete_protection="string",
description="string",
enable_agentic_runtime_authority=False,
enable_ai_quorum=False,
format="string",
host_provider="string",
ignore_cache="string",
inject_urls=["string"],
input_rules=["string"],
item_custom_fields={
"string": "string",
},
keep_prev_version="string",
max_versions="string",
multiline_value=False,
accessibility="string",
password="string",
change_event="string",
ara_enabled=False,
secure_access_enforce_hosts_restriction=False,
secure_access_certificate_issuer="string",
secure_access_enable="string",
retry={
"error_message_regexes": ["string"],
"interval_seconds": float(0),
"max_interval_seconds": float(0),
"max_retries": float(0),
"retry_on_status_codes": [float(0)],
},
secure_access_gateway="string",
secure_access_hosts=["string"],
secure_access_rdp_user="string",
secure_access_ssh_creds="string",
secure_access_ssh_user="string",
secure_access_url="string",
secure_access_web=False,
secure_access_web_browsing=False,
secure_access_web_proxy=False,
static_secret_id="string",
tags=["string"],
targets=["string"],
type="string",
username="string",
value="string")
const staticSecretResource = new akeyless.StaticSecret("staticSecretResource", {
path: "string",
protectionKey: "string",
outputRules: ["string"],
customField: {
string: "string",
},
deleteProtection: "string",
description: "string",
enableAgenticRuntimeAuthority: false,
enableAiQuorum: false,
format: "string",
hostProvider: "string",
ignoreCache: "string",
injectUrls: ["string"],
inputRules: ["string"],
itemCustomFields: {
string: "string",
},
keepPrevVersion: "string",
maxVersions: "string",
multilineValue: false,
accessibility: "string",
password: "string",
changeEvent: "string",
araEnabled: false,
secureAccessEnforceHostsRestriction: false,
secureAccessCertificateIssuer: "string",
secureAccessEnable: "string",
retry: {
errorMessageRegexes: ["string"],
intervalSeconds: 0,
maxIntervalSeconds: 0,
maxRetries: 0,
retryOnStatusCodes: [0],
},
secureAccessGateway: "string",
secureAccessHosts: ["string"],
secureAccessRdpUser: "string",
secureAccessSshCreds: "string",
secureAccessSshUser: "string",
secureAccessUrl: "string",
secureAccessWeb: false,
secureAccessWebBrowsing: false,
secureAccessWebProxy: false,
staticSecretId: "string",
tags: ["string"],
targets: ["string"],
type: "string",
username: "string",
value: "string",
});
type: akeyless:StaticSecret
properties:
accessibility: string
araEnabled: false
changeEvent: string
customField:
string: string
deleteProtection: string
description: string
enableAgenticRuntimeAuthority: false
enableAiQuorum: false
format: string
hostProvider: string
ignoreCache: string
injectUrls:
- string
inputRules:
- string
itemCustomFields:
string: string
keepPrevVersion: string
maxVersions: string
multilineValue: false
outputRules:
- string
password: string
path: string
protectionKey: string
retry:
errorMessageRegexes:
- string
intervalSeconds: 0
maxIntervalSeconds: 0
maxRetries: 0
retryOnStatusCodes:
- 0
secureAccessCertificateIssuer: string
secureAccessEnable: string
secureAccessEnforceHostsRestriction: false
secureAccessGateway: string
secureAccessHosts:
- string
secureAccessRdpUser: string
secureAccessSshCreds: string
secureAccessSshUser: string
secureAccessUrl: string
secureAccessWeb: false
secureAccessWebBrowsing: false
secureAccessWebProxy: false
staticSecretId: string
tags:
- string
targets:
- string
type: string
username: string
value: string
StaticSecret Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StaticSecret resource accepts the following input properties:
- Path string
- The path where the secret will be stored.
- Accessibility string
- For personal password manager
- Ara
Enabled bool - Enable Agentic Runtime Authority
- Change
Event string - Trigger an event when a secret value changed true/false
- Custom
Field Dictionary<string, string> - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- Enable
Ai boolQuorum - Enable AI Quorum
- Format string
- Secret format text/json/key-value
- Host
Provider string - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- Ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
- Inject
Urls List<string> - List of URLs associated with the item (relevant only for type 'password')
- Input
Rules List<string> - Password input rule definitions
- Item
Custom Dictionary<string, string>Fields - Additional custom fields to associate with the item
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- Multiline
Value bool - The provided value is a multiline value (separated by ' ')
- Output
Rules List<string> - Password output rule definitions
- Password string
- Password value (relevant only for type 'password')
- Protection
Key string - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- Retry
Static
Secret Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- Secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access boolEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- Secure
Access stringGateway - Secure Remote Access Gateway
- Secure
Access List<string>Hosts - Target servers for connections., For multiple values repeat this flag.
- Secure
Access stringRdp User - Remote Desktop Username
- Secure
Access stringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- Secure
Access stringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- Secure
Access stringUrl - Destination URL to inject secrets.
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Secure
Access boolWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- Secure
Access boolWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- Static
Secret stringId - The ID of this resource.
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Targets List<string>
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- Type string
- Secret type [generic/password]
- Username string
- Username value (relevant only for type 'password')
- Value string
- The secret content.
- Path string
- The path where the secret will be stored.
- Accessibility string
- For personal password manager
- Ara
Enabled bool - Enable Agentic Runtime Authority
- Change
Event string - Trigger an event when a secret value changed true/false
- Custom
Field map[string]string - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- Enable
Ai boolQuorum - Enable AI Quorum
- Format string
- Secret format text/json/key-value
- Host
Provider string - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- Ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
- Inject
Urls []string - List of URLs associated with the item (relevant only for type 'password')
- Input
Rules []string - Password input rule definitions
- Item
Custom map[string]stringFields - Additional custom fields to associate with the item
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- Multiline
Value bool - The provided value is a multiline value (separated by ' ')
- Output
Rules []string - Password output rule definitions
- Password string
- Password value (relevant only for type 'password')
- Protection
Key string - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- Retry
Static
Secret Retry Args - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- Secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access boolEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- Secure
Access stringGateway - Secure Remote Access Gateway
- Secure
Access []stringHosts - Target servers for connections., For multiple values repeat this flag.
- Secure
Access stringRdp User - Remote Desktop Username
- Secure
Access stringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- Secure
Access stringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- Secure
Access stringUrl - Destination URL to inject secrets.
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Secure
Access boolWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- Secure
Access boolWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- Static
Secret stringId - The ID of this resource.
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Targets []string
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- Type string
- Secret type [generic/password]
- Username string
- Username value (relevant only for type 'password')
- Value string
- The secret content.
- path string
- The path where the secret will be stored.
- accessibility string
- For personal password manager
- ara_
enabled bool - Enable Agentic Runtime Authority
- change_
event string - Trigger an event when a secret value changed true/false
- custom_
field map(string) - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete_
protection string - Protection from accidental deletion of this auth method, [true/false]
- description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- enable_
ai_ boolquorum - Enable AI Quorum
- format string
- Secret format text/json/key-value
- host_
provider string - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore_
cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject_
urls list(string) - List of URLs associated with the item (relevant only for type 'password')
- input_
rules list(string) - Password input rule definitions
- item_
custom_ map(string)fields - Additional custom fields to associate with the item
- keep_
prev_ stringversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max_
versions string - Set the maximum number of versions, limited by the account settings defaults
- multiline_
value bool - The provided value is a multiline value (separated by ' ')
- output_
rules list(string) - Password output rule definitions
- password string
- Password value (relevant only for type 'password')
- protection_
key string - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry object
- Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure_
access_ stringcertificate_ issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure_
access_ stringenable - Enable/Disable secure remote access, [true/false]
- secure_
access_ boolenforce_ hosts_ restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure_
access_ stringgateway - Secure Remote Access Gateway
- secure_
access_ list(string)hosts - Target servers for connections., For multiple values repeat this flag.
- secure_
access_ stringrdp_ user - Remote Desktop Username
- secure_
access_ stringssh_ creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure_
access_ stringssh_ user - Override the SSH username as indicated in SSH Certificate Issuer
- secure_
access_ stringurl - Destination URL to inject secrets.
- secure_
access_ boolweb - Enable Web Secure Remote Access
- secure_
access_ boolweb_ browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure_
access_ boolweb_ proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static_
secret_ stringid - The ID of this resource.
- list(string)
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets list(string)
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type string
- Secret type [generic/password]
- username string
- Username value (relevant only for type 'password')
- value string
- The secret content.
- path String
- The path where the secret will be stored.
- accessibility String
- For personal password manager
- ara
Enabled Boolean - Enable Agentic Runtime Authority
- change
Event String - Trigger an event when a secret value changed true/false
- custom
Field Map<String,String> - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- description String
- Description of the object
- Boolean
- Enable Agentic Runtime Authority
- enable
Ai BooleanQuorum - Enable AI Quorum
- format String
- Secret format text/json/key-value
- host
Provider String - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore
Cache String - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject
Urls List<String> - List of URLs associated with the item (relevant only for type 'password')
- input
Rules List<String> - Password input rule definitions
- item
Custom Map<String,String>Fields - Additional custom fields to associate with the item
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults
- multiline
Value Boolean - The provided value is a multiline value (separated by ' ')
- output
Rules List<String> - Password output rule definitions
- password String
- Password value (relevant only for type 'password')
- protection
Key String - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Static
Secret Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure
Access StringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access BooleanEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure
Access StringGateway - Secure Remote Access Gateway
- secure
Access List<String>Hosts - Target servers for connections., For multiple values repeat this flag.
- secure
Access StringRdp User - Remote Desktop Username
- secure
Access StringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure
Access StringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- secure
Access StringUrl - Destination URL to inject secrets.
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- secure
Access BooleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access BooleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static
Secret StringId - The ID of this resource.
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets List<String>
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type String
- Secret type [generic/password]
- username String
- Username value (relevant only for type 'password')
- value String
- The secret content.
- path string
- The path where the secret will be stored.
- accessibility string
- For personal password manager
- ara
Enabled boolean - Enable Agentic Runtime Authority
- change
Event string - Trigger an event when a secret value changed true/false
- custom
Field {[key: string]: string} - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- description string
- Description of the object
- boolean
- Enable Agentic Runtime Authority
- enable
Ai booleanQuorum - Enable AI Quorum
- format string
- Secret format text/json/key-value
- host
Provider string - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject
Urls string[] - List of URLs associated with the item (relevant only for type 'password')
- input
Rules string[] - Password input rule definitions
- item
Custom {[key: string]: string}Fields - Additional custom fields to associate with the item
- keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- multiline
Value boolean - The provided value is a multiline value (separated by ' ')
- output
Rules string[] - Password output rule definitions
- password string
- Password value (relevant only for type 'password')
- protection
Key string - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Static
Secret Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access booleanEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure
Access stringGateway - Secure Remote Access Gateway
- secure
Access string[]Hosts - Target servers for connections., For multiple values repeat this flag.
- secure
Access stringRdp User - Remote Desktop Username
- secure
Access stringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure
Access stringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- secure
Access stringUrl - Destination URL to inject secrets.
- secure
Access booleanWeb - Enable Web Secure Remote Access
- secure
Access booleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access booleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static
Secret stringId - The ID of this resource.
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets string[]
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type string
- Secret type [generic/password]
- username string
- Username value (relevant only for type 'password')
- value string
- The secret content.
- path str
- The path where the secret will be stored.
- accessibility str
- For personal password manager
- ara_
enabled bool - Enable Agentic Runtime Authority
- change_
event str - Trigger an event when a secret value changed true/false
- custom_
field Mapping[str, str] - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete_
protection str - Protection from accidental deletion of this auth method, [true/false]
- description str
- Description of the object
- bool
- Enable Agentic Runtime Authority
- enable_
ai_ boolquorum - Enable AI Quorum
- format str
- Secret format text/json/key-value
- host_
provider str - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore_
cache str - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject_
urls Sequence[str] - List of URLs associated with the item (relevant only for type 'password')
- input_
rules Sequence[str] - Password input rule definitions
- item_
custom_ Mapping[str, str]fields - Additional custom fields to associate with the item
- keep_
prev_ strversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max_
versions str - Set the maximum number of versions, limited by the account settings defaults
- multiline_
value bool - The provided value is a multiline value (separated by ' ')
- output_
rules Sequence[str] - Password output rule definitions
- password str
- Password value (relevant only for type 'password')
- protection_
key str - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Static
Secret Retry Args - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure_
access_ strcertificate_ issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure_
access_ strenable - Enable/Disable secure remote access, [true/false]
- secure_
access_ boolenforce_ hosts_ restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure_
access_ strgateway - Secure Remote Access Gateway
- secure_
access_ Sequence[str]hosts - Target servers for connections., For multiple values repeat this flag.
- secure_
access_ strrdp_ user - Remote Desktop Username
- secure_
access_ strssh_ creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure_
access_ strssh_ user - Override the SSH username as indicated in SSH Certificate Issuer
- secure_
access_ strurl - Destination URL to inject secrets.
- secure_
access_ boolweb - Enable Web Secure Remote Access
- secure_
access_ boolweb_ browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure_
access_ boolweb_ proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static_
secret_ strid - The ID of this resource.
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets Sequence[str]
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type str
- Secret type [generic/password]
- username str
- Username value (relevant only for type 'password')
- value str
- The secret content.
- path String
- The path where the secret will be stored.
- accessibility String
- For personal password manager
- ara
Enabled Boolean - Enable Agentic Runtime Authority
- change
Event String - Trigger an event when a secret value changed true/false
- custom
Field Map<String> - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- description String
- Description of the object
- Boolean
- Enable Agentic Runtime Authority
- enable
Ai BooleanQuorum - Enable AI Quorum
- format String
- Secret format text/json/key-value
- host
Provider String - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore
Cache String - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject
Urls List<String> - List of URLs associated with the item (relevant only for type 'password')
- input
Rules List<String> - Password input rule definitions
- item
Custom Map<String>Fields - Additional custom fields to associate with the item
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults
- multiline
Value Boolean - The provided value is a multiline value (separated by ' ')
- output
Rules List<String> - Password output rule definitions
- password String
- Password value (relevant only for type 'password')
- protection
Key String - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry Property Map
- Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure
Access StringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access BooleanEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure
Access StringGateway - Secure Remote Access Gateway
- secure
Access List<String>Hosts - Target servers for connections., For multiple values repeat this flag.
- secure
Access StringRdp User - Remote Desktop Username
- secure
Access StringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure
Access StringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- secure
Access StringUrl - Destination URL to inject secrets.
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- secure
Access BooleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access BooleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static
Secret StringId - The ID of this resource.
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets List<String>
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type String
- Secret type [generic/password]
- username String
- Username value (relevant only for type 'password')
- value String
- The secret content.
Outputs
All input properties are implicitly available as output properties. Additionally, the StaticSecret resource produces the following output properties:
Look up Existing StaticSecret Resource
Get an existing StaticSecret resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StaticSecretState, opts?: CustomResourceOptions): StaticSecret@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accessibility: Optional[str] = None,
ara_enabled: Optional[bool] = None,
change_event: Optional[str] = None,
custom_field: Optional[Mapping[str, str]] = None,
delete_protection: Optional[str] = None,
description: Optional[str] = None,
enable_agentic_runtime_authority: Optional[bool] = None,
enable_ai_quorum: Optional[bool] = None,
format: Optional[str] = None,
host_provider: Optional[str] = None,
ignore_cache: Optional[str] = None,
inject_urls: Optional[Sequence[str]] = None,
input_rules: Optional[Sequence[str]] = None,
item_custom_fields: Optional[Mapping[str, str]] = None,
keep_prev_version: Optional[str] = None,
max_versions: Optional[str] = None,
multiline_value: Optional[bool] = None,
output_rules: Optional[Sequence[str]] = None,
password: Optional[str] = None,
path: Optional[str] = None,
protection_key: Optional[str] = None,
retry: Optional[StaticSecretRetryArgs] = None,
secure_access_certificate_issuer: Optional[str] = None,
secure_access_enable: Optional[str] = None,
secure_access_enforce_hosts_restriction: Optional[bool] = None,
secure_access_gateway: Optional[str] = None,
secure_access_hosts: Optional[Sequence[str]] = None,
secure_access_rdp_user: Optional[str] = None,
secure_access_ssh_creds: Optional[str] = None,
secure_access_ssh_user: Optional[str] = None,
secure_access_url: Optional[str] = None,
secure_access_web: Optional[bool] = None,
secure_access_web_browsing: Optional[bool] = None,
secure_access_web_proxy: Optional[bool] = None,
static_secret_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
targets: Optional[Sequence[str]] = None,
type: Optional[str] = None,
username: Optional[str] = None,
value: Optional[str] = None,
version: Optional[float] = None) -> StaticSecretfunc GetStaticSecret(ctx *Context, name string, id IDInput, state *StaticSecretState, opts ...ResourceOption) (*StaticSecret, error)public static StaticSecret Get(string name, Input<string> id, StaticSecretState? state, CustomResourceOptions? opts = null)public static StaticSecret get(String name, Output<String> id, StaticSecretState state, CustomResourceOptions options)resources: existingStaticSecret: type: akeyless:StaticSecret get: id: ${id}import {
to = akeyless_static_secret.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state StaticSecretState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state StaticSecretState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state StaticSecretState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state StaticSecretState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Accessibility string
- For personal password manager
- Ara
Enabled bool - Enable Agentic Runtime Authority
- Change
Event string - Trigger an event when a secret value changed true/false
- Custom
Field Dictionary<string, string> - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- Enable
Ai boolQuorum - Enable AI Quorum
- Format string
- Secret format text/json/key-value
- Host
Provider string - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- Ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
- Inject
Urls List<string> - List of URLs associated with the item (relevant only for type 'password')
- Input
Rules List<string> - Password input rule definitions
- Item
Custom Dictionary<string, string>Fields - Additional custom fields to associate with the item
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- Multiline
Value bool - The provided value is a multiline value (separated by ' ')
- Output
Rules List<string> - Password output rule definitions
- Password string
- Password value (relevant only for type 'password')
- Path string
- The path where the secret will be stored.
- Protection
Key string - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- Retry
Static
Secret Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- Secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access boolEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- Secure
Access stringGateway - Secure Remote Access Gateway
- Secure
Access List<string>Hosts - Target servers for connections., For multiple values repeat this flag.
- Secure
Access stringRdp User - Remote Desktop Username
- Secure
Access stringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- Secure
Access stringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- Secure
Access stringUrl - Destination URL to inject secrets.
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Secure
Access boolWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- Secure
Access boolWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- Static
Secret stringId - The ID of this resource.
- List<string>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Targets List<string>
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- Type string
- Secret type [generic/password]
- Username string
- Username value (relevant only for type 'password')
- Value string
- The secret content.
- Version double
- The version of the secret.
- Accessibility string
- For personal password manager
- Ara
Enabled bool - Enable Agentic Runtime Authority
- Change
Event string - Trigger an event when a secret value changed true/false
- Custom
Field map[string]string - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- Delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- Description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- Enable
Ai boolQuorum - Enable AI Quorum
- Format string
- Secret format text/json/key-value
- Host
Provider string - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- Ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
- Inject
Urls []string - List of URLs associated with the item (relevant only for type 'password')
- Input
Rules []string - Password input rule definitions
- Item
Custom map[string]stringFields - Additional custom fields to associate with the item
- Keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- Max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- Multiline
Value bool - The provided value is a multiline value (separated by ' ')
- Output
Rules []string - Password output rule definitions
- Password string
- Password value (relevant only for type 'password')
- Path string
- The path where the secret will be stored.
- Protection
Key string - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- Retry
Static
Secret Retry Args - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- Secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- Secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- Secure
Access boolEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- Secure
Access stringGateway - Secure Remote Access Gateway
- Secure
Access []stringHosts - Target servers for connections., For multiple values repeat this flag.
- Secure
Access stringRdp User - Remote Desktop Username
- Secure
Access stringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- Secure
Access stringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- Secure
Access stringUrl - Destination URL to inject secrets.
- Secure
Access boolWeb - Enable Web Secure Remote Access
- Secure
Access boolWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- Secure
Access boolWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- Static
Secret stringId - The ID of this resource.
- []string
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- Targets []string
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- Type string
- Secret type [generic/password]
- Username string
- Username value (relevant only for type 'password')
- Value string
- The secret content.
- Version float64
- The version of the secret.
- accessibility string
- For personal password manager
- ara_
enabled bool - Enable Agentic Runtime Authority
- change_
event string - Trigger an event when a secret value changed true/false
- custom_
field map(string) - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete_
protection string - Protection from accidental deletion of this auth method, [true/false]
- description string
- Description of the object
- bool
- Enable Agentic Runtime Authority
- enable_
ai_ boolquorum - Enable AI Quorum
- format string
- Secret format text/json/key-value
- host_
provider string - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore_
cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject_
urls list(string) - List of URLs associated with the item (relevant only for type 'password')
- input_
rules list(string) - Password input rule definitions
- item_
custom_ map(string)fields - Additional custom fields to associate with the item
- keep_
prev_ stringversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max_
versions string - Set the maximum number of versions, limited by the account settings defaults
- multiline_
value bool - The provided value is a multiline value (separated by ' ')
- output_
rules list(string) - Password output rule definitions
- password string
- Password value (relevant only for type 'password')
- path string
- The path where the secret will be stored.
- protection_
key string - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry object
- Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure_
access_ stringcertificate_ issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure_
access_ stringenable - Enable/Disable secure remote access, [true/false]
- secure_
access_ boolenforce_ hosts_ restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure_
access_ stringgateway - Secure Remote Access Gateway
- secure_
access_ list(string)hosts - Target servers for connections., For multiple values repeat this flag.
- secure_
access_ stringrdp_ user - Remote Desktop Username
- secure_
access_ stringssh_ creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure_
access_ stringssh_ user - Override the SSH username as indicated in SSH Certificate Issuer
- secure_
access_ stringurl - Destination URL to inject secrets.
- secure_
access_ boolweb - Enable Web Secure Remote Access
- secure_
access_ boolweb_ browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure_
access_ boolweb_ proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static_
secret_ stringid - The ID of this resource.
- list(string)
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets list(string)
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type string
- Secret type [generic/password]
- username string
- Username value (relevant only for type 'password')
- value string
- The secret content.
- version number
- The version of the secret.
- accessibility String
- For personal password manager
- ara
Enabled Boolean - Enable Agentic Runtime Authority
- change
Event String - Trigger an event when a secret value changed true/false
- custom
Field Map<String,String> - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- description String
- Description of the object
- Boolean
- Enable Agentic Runtime Authority
- enable
Ai BooleanQuorum - Enable AI Quorum
- format String
- Secret format text/json/key-value
- host
Provider String - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore
Cache String - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject
Urls List<String> - List of URLs associated with the item (relevant only for type 'password')
- input
Rules List<String> - Password input rule definitions
- item
Custom Map<String,String>Fields - Additional custom fields to associate with the item
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults
- multiline
Value Boolean - The provided value is a multiline value (separated by ' ')
- output
Rules List<String> - Password output rule definitions
- password String
- Password value (relevant only for type 'password')
- path String
- The path where the secret will be stored.
- protection
Key String - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Static
Secret Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure
Access StringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access BooleanEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure
Access StringGateway - Secure Remote Access Gateway
- secure
Access List<String>Hosts - Target servers for connections., For multiple values repeat this flag.
- secure
Access StringRdp User - Remote Desktop Username
- secure
Access StringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure
Access StringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- secure
Access StringUrl - Destination URL to inject secrets.
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- secure
Access BooleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access BooleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static
Secret StringId - The ID of this resource.
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets List<String>
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type String
- Secret type [generic/password]
- username String
- Username value (relevant only for type 'password')
- value String
- The secret content.
- version Double
- The version of the secret.
- accessibility string
- For personal password manager
- ara
Enabled boolean - Enable Agentic Runtime Authority
- change
Event string - Trigger an event when a secret value changed true/false
- custom
Field {[key: string]: string} - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete
Protection string - Protection from accidental deletion of this auth method, [true/false]
- description string
- Description of the object
- boolean
- Enable Agentic Runtime Authority
- enable
Ai booleanQuorum - Enable AI Quorum
- format string
- Secret format text/json/key-value
- host
Provider string - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore
Cache string - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject
Urls string[] - List of URLs associated with the item (relevant only for type 'password')
- input
Rules string[] - Password input rule definitions
- item
Custom {[key: string]: string}Fields - Additional custom fields to associate with the item
- keep
Prev stringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max
Versions string - Set the maximum number of versions, limited by the account settings defaults
- multiline
Value boolean - The provided value is a multiline value (separated by ' ')
- output
Rules string[] - Password output rule definitions
- password string
- Password value (relevant only for type 'password')
- path string
- The path where the secret will be stored.
- protection
Key string - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Static
Secret Retry - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure
Access stringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access stringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access booleanEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure
Access stringGateway - Secure Remote Access Gateway
- secure
Access string[]Hosts - Target servers for connections., For multiple values repeat this flag.
- secure
Access stringRdp User - Remote Desktop Username
- secure
Access stringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure
Access stringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- secure
Access stringUrl - Destination URL to inject secrets.
- secure
Access booleanWeb - Enable Web Secure Remote Access
- secure
Access booleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access booleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static
Secret stringId - The ID of this resource.
- string[]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets string[]
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type string
- Secret type [generic/password]
- username string
- Username value (relevant only for type 'password')
- value string
- The secret content.
- version number
- The version of the secret.
- accessibility str
- For personal password manager
- ara_
enabled bool - Enable Agentic Runtime Authority
- change_
event str - Trigger an event when a secret value changed true/false
- custom_
field Mapping[str, str] - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete_
protection str - Protection from accidental deletion of this auth method, [true/false]
- description str
- Description of the object
- bool
- Enable Agentic Runtime Authority
- enable_
ai_ boolquorum - Enable AI Quorum
- format str
- Secret format text/json/key-value
- host_
provider str - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore_
cache str - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject_
urls Sequence[str] - List of URLs associated with the item (relevant only for type 'password')
- input_
rules Sequence[str] - Password input rule definitions
- item_
custom_ Mapping[str, str]fields - Additional custom fields to associate with the item
- keep_
prev_ strversion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max_
versions str - Set the maximum number of versions, limited by the account settings defaults
- multiline_
value bool - The provided value is a multiline value (separated by ' ')
- output_
rules Sequence[str] - Password output rule definitions
- password str
- Password value (relevant only for type 'password')
- path str
- The path where the secret will be stored.
- protection_
key str - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry
Static
Secret Retry Args - Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure_
access_ strcertificate_ issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure_
access_ strenable - Enable/Disable secure remote access, [true/false]
- secure_
access_ boolenforce_ hosts_ restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure_
access_ strgateway - Secure Remote Access Gateway
- secure_
access_ Sequence[str]hosts - Target servers for connections., For multiple values repeat this flag.
- secure_
access_ strrdp_ user - Remote Desktop Username
- secure_
access_ strssh_ creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure_
access_ strssh_ user - Override the SSH username as indicated in SSH Certificate Issuer
- secure_
access_ strurl - Destination URL to inject secrets.
- secure_
access_ boolweb - Enable Web Secure Remote Access
- secure_
access_ boolweb_ browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure_
access_ boolweb_ proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static_
secret_ strid - The ID of this resource.
- Sequence[str]
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets Sequence[str]
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type str
- Secret type [generic/password]
- username str
- Username value (relevant only for type 'password')
- value str
- The secret content.
- version float
- The version of the secret.
- accessibility String
- For personal password manager
- ara
Enabled Boolean - Enable Agentic Runtime Authority
- change
Event String - Trigger an event when a secret value changed true/false
- custom
Field Map<String> - Additional custom fields to associate with the item (e.g fieldName1=value1) (relevant only for type 'password')
- delete
Protection String - Protection from accidental deletion of this auth method, [true/false]
- description String
- Description of the object
- Boolean
- Enable Agentic Runtime Authority
- enable
Ai BooleanQuorum - Enable AI Quorum
- format String
- Secret format text/json/key-value
- host
Provider String - Host provider type [explicit/target], Default Host provider is explicit, Relevant only for Secure Remote Access
- ignore
Cache String - Retrieve the Secret value without checking the Gateway's cache [true/false]
- inject
Urls List<String> - List of URLs associated with the item (relevant only for type 'password')
- input
Rules List<String> - Password input rule definitions
- item
Custom Map<String>Fields - Additional custom fields to associate with the item
- keep
Prev StringVersion - Whether to keep previous version [true/false]. If not set, use default according to account settings
- max
Versions String - Set the maximum number of versions, limited by the account settings defaults
- multiline
Value Boolean - The provided value is a multiline value (separated by ' ')
- output
Rules List<String> - Password output rule definitions
- password String
- Password value (relevant only for type 'password')
- path String
- The path where the secret will be stored.
- protection
Key String - The name of a key that is used to encrypt the secret value (if empty, the account default protectionKey key will be used)
- retry Property Map
- Retry this resource's operations when the error matches errormessageregex or the HTTP status is in retryonstatus_codes. Overrides the provider retry block. See the Customized Retry guide.
- secure
Access StringCertificate Issuer - Path to the SSH Certificate Issuer for your Akeyless Secure Access
- secure
Access StringEnable - Enable/Disable secure remote access, [true/false]
- secure
Access BooleanEnforce Hosts Restriction - Enforce connections only to allowed Secure Remote Access hosts
- secure
Access StringGateway - Secure Remote Access Gateway
- secure
Access List<String>Hosts - Target servers for connections., For multiple values repeat this flag.
- secure
Access StringRdp User - Remote Desktop Username
- secure
Access StringSsh Creds - Static-Secret values contains SSH Credentials, either Private Key or Password [password/private-key]
- secure
Access StringSsh User - Override the SSH username as indicated in SSH Certificate Issuer
- secure
Access StringUrl - Destination URL to inject secrets.
- secure
Access BooleanWeb - Enable Web Secure Remote Access
- secure
Access BooleanWeb Browsing - Secure browser via Akeyless's Secure Remote Access (SRA)
- secure
Access BooleanWeb Proxy - Web-Proxy via Akeyless's Secure Remote Access (SRA)
- static
Secret StringId - The ID of this resource.
- List<String>
- List of the tags attached to this secret. To specify multiple tags use argument multiple times: -t Tag1 -t Tag2
- targets List<String>
- A list of linked targets to be associated, Relevant only for Secure Remote Access
- type String
- Secret type [generic/password]
- username String
- Username value (relevant only for type 'password')
- value String
- The secret content.
- version Number
- The version of the secret.
Supporting Types
StaticSecretRetry, StaticSecretRetryArgs
- Error
Message List<string>Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- Interval
Seconds double - Wait before the first retry, in seconds. The wait doubles on each retry.
- Max
Interval doubleSeconds - Maximum wait between retries, in seconds.
- Max
Retries double - Maximum number of retries after the first attempt.
- Retry
On List<double>Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- Error
Message []stringRegexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- Interval
Seconds float64 - Wait before the first retry, in seconds. The wait doubles on each retry.
- Max
Interval float64Seconds - Maximum wait between retries, in seconds.
- Max
Retries float64 - Maximum number of retries after the first attempt.
- Retry
On []float64Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error_
message_ list(string)regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval_
seconds number - Wait before the first retry, in seconds. The wait doubles on each retry.
- max_
interval_ numberseconds - Maximum wait between retries, in seconds.
- max_
retries number - Maximum number of retries after the first attempt.
- retry_
on_ list(number)status_ codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error
Message List<String>Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval
Seconds Double - Wait before the first retry, in seconds. The wait doubles on each retry.
- max
Interval DoubleSeconds - Maximum wait between retries, in seconds.
- max
Retries Double - Maximum number of retries after the first attempt.
- retry
On List<Double>Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error
Message string[]Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval
Seconds number - Wait before the first retry, in seconds. The wait doubles on each retry.
- max
Interval numberSeconds - Maximum wait between retries, in seconds.
- max
Retries number - Maximum number of retries after the first attempt.
- retry
On number[]Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error_
message_ Sequence[str]regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval_
seconds float - Wait before the first retry, in seconds. The wait doubles on each retry.
- max_
interval_ floatseconds - Maximum wait between retries, in seconds.
- max_
retries float - Maximum number of retries after the first attempt.
- retry_
on_ Sequence[float]status_ codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
- error
Message List<String>Regexes - Regular expressions matched against the error message. If any matches, the operation is retried.
- interval
Seconds Number - Wait before the first retry, in seconds. The wait doubles on each retry.
- max
Interval NumberSeconds - Maximum wait between retries, in seconds.
- max
Retries Number - Maximum number of retries after the first attempt.
- retry
On List<Number>Status Codes - HTTP status codes of the failed API call that trigger a retry, for example 429 or 503.
Import
$ pulumi import akeyless:index/staticSecret:StaticSecret example /full-secret-path/and-name-in-akeyless
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- akeyless akeyless-community/terraform-provider-akeyless
- License
- Notes
- This Pulumi package is based on the
akeylessTerraform Provider.
published on Thursday, Nov 19, 2026 by akeyless-community