1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. Provider
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
thoth logo
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security

    The provider type for the thoth package. By default, resources use package-wide configuration settings, however an explicit Provider instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.

    Create Provider Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
    @overload
    def Provider(resource_name: str,
                 args: Optional[ProviderArgs] = None,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Provider(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 admin_bearer_token: Optional[str] = None,
                 admin_bearer_token_file: Optional[str] = None,
                 apex_domain: Optional[str] = None,
                 api_base_url: Optional[str] = None,
                 insecure_skip_tls_verify: Optional[bool] = None,
                 org_api_key: Optional[str] = None,
                 org_api_key_file: Optional[str] = None,
                 request_timeout_seconds: Optional[int] = None,
                 retry_base_delay_ms: Optional[int] = None,
                 retry_max_attempts: Optional[int] = None,
                 retry_max_delay_ms: Optional[int] = None,
                 tenant_id: Optional[str] = None)
    func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
    public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
    public Provider(String name, ProviderArgs args)
    public Provider(String name, ProviderArgs args, CustomResourceOptions options)
    
    type: pulumi:providers:thoth
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "pulumi_providers_thoth" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProviderArgs
    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 ProviderArgs
    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 ProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProviderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Provider 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 Provider resource accepts the following input properties:

    AdminBearerToken string
    Admin bearer token used for authenticated GovAPI requests.
    AdminBearerTokenFile string
    Path to a file containing the admin bearer token.
    ApexDomain string
    Apex domain used to derive GovAPI host when apiBaseUrl is omitted. Defaults to atensecurity.com.
    ApiBaseUrl string
    GovAPI base URL override. When omitted, provider derives https://grid.<tenant_id>.<apex_domain>.
    InsecureSkipTlsVerify bool
    Skip TLS certificate verification (development/testing only).
    OrgApiKey string
    Organization-scoped API key used for non-interactive CI/CD control-plane operations.
    OrgApiKeyFile string
    Path to a file containing the organization-scoped API key.
    RequestTimeoutSeconds int
    Per-request timeout in seconds.
    RetryBaseDelayMs int
    Base delay in milliseconds for exponential retry backoff.
    RetryMaxAttempts int
    Maximum retry attempts for transient API/network failures.
    RetryMaxDelayMs int
    Maximum delay in milliseconds for retry backoff.
    TenantId string
    Tenant slug used in GovAPI route scoping. If omitted, provider reads THOTH_TENANT_ID.
    AdminBearerToken string
    Admin bearer token used for authenticated GovAPI requests.
    AdminBearerTokenFile string
    Path to a file containing the admin bearer token.
    ApexDomain string
    Apex domain used to derive GovAPI host when apiBaseUrl is omitted. Defaults to atensecurity.com.
    ApiBaseUrl string
    GovAPI base URL override. When omitted, provider derives https://grid.<tenant_id>.<apex_domain>.
    InsecureSkipTlsVerify bool
    Skip TLS certificate verification (development/testing only).
    OrgApiKey string
    Organization-scoped API key used for non-interactive CI/CD control-plane operations.
    OrgApiKeyFile string
    Path to a file containing the organization-scoped API key.
    RequestTimeoutSeconds int
    Per-request timeout in seconds.
    RetryBaseDelayMs int
    Base delay in milliseconds for exponential retry backoff.
    RetryMaxAttempts int
    Maximum retry attempts for transient API/network failures.
    RetryMaxDelayMs int
    Maximum delay in milliseconds for retry backoff.
    TenantId string
    Tenant slug used in GovAPI route scoping. If omitted, provider reads THOTH_TENANT_ID.
    admin_bearer_token string
    Admin bearer token used for authenticated GovAPI requests.
    admin_bearer_token_file string
    Path to a file containing the admin bearer token.
    apex_domain string
    Apex domain used to derive GovAPI host when apiBaseUrl is omitted. Defaults to atensecurity.com.
    api_base_url string
    GovAPI base URL override. When omitted, provider derives https://grid.<tenant_id>.<apex_domain>.
    insecure_skip_tls_verify bool
    Skip TLS certificate verification (development/testing only).
    org_api_key string
    Organization-scoped API key used for non-interactive CI/CD control-plane operations.
    org_api_key_file string
    Path to a file containing the organization-scoped API key.
    request_timeout_seconds number
    Per-request timeout in seconds.
    retry_base_delay_ms number
    Base delay in milliseconds for exponential retry backoff.
    retry_max_attempts number
    Maximum retry attempts for transient API/network failures.
    retry_max_delay_ms number
    Maximum delay in milliseconds for retry backoff.
    tenant_id string
    Tenant slug used in GovAPI route scoping. If omitted, provider reads THOTH_TENANT_ID.
    adminBearerToken String
    Admin bearer token used for authenticated GovAPI requests.
    adminBearerTokenFile String
    Path to a file containing the admin bearer token.
    apexDomain String
    Apex domain used to derive GovAPI host when apiBaseUrl is omitted. Defaults to atensecurity.com.
    apiBaseUrl String
    GovAPI base URL override. When omitted, provider derives https://grid.<tenant_id>.<apex_domain>.
    insecureSkipTlsVerify Boolean
    Skip TLS certificate verification (development/testing only).
    orgApiKey String
    Organization-scoped API key used for non-interactive CI/CD control-plane operations.
    orgApiKeyFile String
    Path to a file containing the organization-scoped API key.
    requestTimeoutSeconds Integer
    Per-request timeout in seconds.
    retryBaseDelayMs Integer
    Base delay in milliseconds for exponential retry backoff.
    retryMaxAttempts Integer
    Maximum retry attempts for transient API/network failures.
    retryMaxDelayMs Integer
    Maximum delay in milliseconds for retry backoff.
    tenantId String
    Tenant slug used in GovAPI route scoping. If omitted, provider reads THOTH_TENANT_ID.
    adminBearerToken string
    Admin bearer token used for authenticated GovAPI requests.
    adminBearerTokenFile string
    Path to a file containing the admin bearer token.
    apexDomain string
    Apex domain used to derive GovAPI host when apiBaseUrl is omitted. Defaults to atensecurity.com.
    apiBaseUrl string
    GovAPI base URL override. When omitted, provider derives https://grid.<tenant_id>.<apex_domain>.
    insecureSkipTlsVerify boolean
    Skip TLS certificate verification (development/testing only).
    orgApiKey string
    Organization-scoped API key used for non-interactive CI/CD control-plane operations.
    orgApiKeyFile string
    Path to a file containing the organization-scoped API key.
    requestTimeoutSeconds number
    Per-request timeout in seconds.
    retryBaseDelayMs number
    Base delay in milliseconds for exponential retry backoff.
    retryMaxAttempts number
    Maximum retry attempts for transient API/network failures.
    retryMaxDelayMs number
    Maximum delay in milliseconds for retry backoff.
    tenantId string
    Tenant slug used in GovAPI route scoping. If omitted, provider reads THOTH_TENANT_ID.
    admin_bearer_token str
    Admin bearer token used for authenticated GovAPI requests.
    admin_bearer_token_file str
    Path to a file containing the admin bearer token.
    apex_domain str
    Apex domain used to derive GovAPI host when apiBaseUrl is omitted. Defaults to atensecurity.com.
    api_base_url str
    GovAPI base URL override. When omitted, provider derives https://grid.<tenant_id>.<apex_domain>.
    insecure_skip_tls_verify bool
    Skip TLS certificate verification (development/testing only).
    org_api_key str
    Organization-scoped API key used for non-interactive CI/CD control-plane operations.
    org_api_key_file str
    Path to a file containing the organization-scoped API key.
    request_timeout_seconds int
    Per-request timeout in seconds.
    retry_base_delay_ms int
    Base delay in milliseconds for exponential retry backoff.
    retry_max_attempts int
    Maximum retry attempts for transient API/network failures.
    retry_max_delay_ms int
    Maximum delay in milliseconds for retry backoff.
    tenant_id str
    Tenant slug used in GovAPI route scoping. If omitted, provider reads THOTH_TENANT_ID.
    adminBearerToken String
    Admin bearer token used for authenticated GovAPI requests.
    adminBearerTokenFile String
    Path to a file containing the admin bearer token.
    apexDomain String
    Apex domain used to derive GovAPI host when apiBaseUrl is omitted. Defaults to atensecurity.com.
    apiBaseUrl String
    GovAPI base URL override. When omitted, provider derives https://grid.<tenant_id>.<apex_domain>.
    insecureSkipTlsVerify Boolean
    Skip TLS certificate verification (development/testing only).
    orgApiKey String
    Organization-scoped API key used for non-interactive CI/CD control-plane operations.
    orgApiKeyFile String
    Path to a file containing the organization-scoped API key.
    requestTimeoutSeconds Number
    Per-request timeout in seconds.
    retryBaseDelayMs Number
    Base delay in milliseconds for exponential retry backoff.
    retryMaxAttempts Number
    Maximum retry attempts for transient API/network failures.
    retryMaxDelayMs Number
    Maximum delay in milliseconds for retry backoff.
    tenantId String
    Tenant slug used in GovAPI route scoping. If omitted, provider reads THOTH_TENANT_ID.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Provider Resource Methods

    TerraformConfig Method

    This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.

    Using TerraformConfig

    terraformConfig(): Output<Provider.TerraformConfigResult>
    def terraform_config() -> Output[Provider.Terraform_configResult]
    func (r *Provider) TerraformConfig() (ProviderTerraformConfigResultOutput, error)
    public Output<Provider.TerraformConfigResult> TerraformConfig()

    TerraformConfig Result

    Result Dictionary<string, object>
    Result map[string]interface{}
    result map(any)
    result Map<String,Object>
    result {[key: string]: any}
    result Mapping[str, Any]
    result Map<Any>

    Package Details

    Repository
    thoth atensecurity/pulumi-thoth
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the thoth Terraform Provider.
    thoth logo
    Viewing docs for Thoth v0.1.15
    published on Thursday, Jul 23, 2026 by Aten Security

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial