1. Registry
  2. Packages
  3. Vercel Provider
  4. API Docs
  5. getProjectProtectionInventory
Viewing docs for Vercel v5.27.0
published on Sunday, Nov 15, 2026 by Pulumiverse
vercel logo vercel logo
Viewing docs for Vercel v5.27.0
published on Sunday, Nov 15, 2026 by Pulumiverse

    Reads protection bypasses and access exceptions visible through the public project and alias APIs, without creating, adopting, or revoking them. Includes automation and integration bypasses, URL exceptions, shareable links, individual access, OPTIONS paths, and Trusted Sources, including implicit self-access and Vercel CI access. Bearer secrets and secret-bearing URLs are not stored in state.

    This is a snapshot of visible configuration, not a guarantee that a deployment is protected. The public APIs do not establish coverage of deployment-owned access without alias records or guarantee complete visibility for the API token, so complete is currently always false. Missing access maps are reported in incomplete_reasons. Failed requests, invalid JSON, and unsupported Trusted Sources or OPTIONS fields fail the read instead of returning an empty inventory. Expired links, pending requests, invitations, and explicit empty Trusted Sources rules remain in the inventory.

    For trusted-project entries, null custom_allow means default matching-environment access (plus development to preview for self-access); an empty set means no access. Vercel CI same-repository access permits same-team CI to preview and production deployments built from the CI repository. This defaults to enabled when not stored. These defaults are access routes even when no explicit exception has been configured.

    Approval keys identify the observed access configuration, including credential rotation, target identity, and rule changes. They exclude notes and audit timestamps. They are versioned SHA-256 fingerprints, not API IDs or credentials. Terraform postconditions can reject unapproved entries, but cannot prevent later dashboard changes.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vercel from "@pulumiverse/vercel";
    
    const example = vercel.getProjectProtectionInventory({
        projectId: "prj_example",
        teamId: "team_example",
    });
    export const protectionAccess = example.then(example => example.entries);
    
    import pulumi
    import pulumi_vercel as vercel
    
    example = vercel.get_project_protection_inventory(project_id="prj_example",
        team_id="team_example")
    pulumi.export("protectionAccess", example.entries)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-vercel/sdk/v5/go/vercel"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := vercel.GetProjectProtectionInventory(ctx, &vercel.GetProjectProtectionInventoryArgs{
    			ProjectId: "prj_example",
    			TeamId:    pulumi.StringRef("team_example"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("protectionAccess", example.Entries)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vercel = Pulumiverse.Vercel;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Vercel.GetProjectProtectionInventory.Invoke(new()
        {
            ProjectId = "prj_example",
            TeamId = "team_example",
        });
    
        return new Dictionary<string, object?>
        {
            ["protectionAccess"] = example.Apply(getProjectProtectionInventoryResult => getProjectProtectionInventoryResult.Entries),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vercel.VercelFunctions;
    import com.pulumi.vercel.inputs.GetProjectProtectionInventoryArgs;
    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) {
            final var example = VercelFunctions.getProjectProtectionInventory(GetProjectProtectionInventoryArgs.builder()
                .projectId("prj_example")
                .teamId("team_example")
                .build());
    
            ctx.export("protectionAccess", example.entries());
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: vercel:getProjectProtectionInventory
          arguments:
            projectId: prj_example
            teamId: team_example
    outputs:
      protectionAccess: ${example.entries}
    
    Example coming soon!
    

    Optional plan assertions

    To reject visible entries that have not been approved, add a postcondition. Copy approved keys from a reviewed inventory into your configuration; do not build the approval list automatically from the same live inventory.

    import * as pulumi from "@pulumi/pulumi";
    import * as vercel from "@pulumiverse/vercel";
    
    const config = new pulumi.Config();
    const approvedProtectionEntries = config.getObject<Array<string>>("approvedProtectionEntries") || [];
    const approved = vercel.getProjectProtectionInventory({
        projectId: "prj_example",
        teamId: "team_example",
    });
    
    import pulumi
    import pulumi_vercel as vercel
    
    config = pulumi.Config()
    approved_protection_entries = config.get_object("approvedProtectionEntries")
    if approved_protection_entries is None:
        approved_protection_entries = []
    approved = vercel.get_project_protection_inventory(project_id="prj_example",
        team_id="team_example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    	"github.com/pulumiverse/pulumi-vercel/sdk/v5/go/vercel"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		approvedProtectionEntries := []interface{}{}
    		if param := cfg.GetObject("approvedProtectionEntries"); param != nil {
    			approvedProtectionEntries = param
    		}
    		_, err := vercel.GetProjectProtectionInventory(ctx, &vercel.GetProjectProtectionInventoryArgs{
    			ProjectId: "prj_example",
    			TeamId:    pulumi.StringRef("team_example"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vercel = Pulumiverse.Vercel;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var approvedProtectionEntries = config.GetObject<string[]>("approvedProtectionEntries") ?? new[] {};
        var approved = Vercel.GetProjectProtectionInventory.Invoke(new()
        {
            ProjectId = "prj_example",
            TeamId = "team_example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vercel.VercelFunctions;
    import com.pulumi.vercel.inputs.GetProjectProtectionInventoryArgs;
    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) {
            final var config = ctx.config();
            final var approvedProtectionEntries = config.get("approvedProtectionEntries").orElse(List.of());
            final var approved = VercelFunctions.getProjectProtectionInventory(GetProjectProtectionInventoryArgs.builder()
                .projectId("prj_example")
                .teamId("team_example")
                .build());
    
        }
    }
    
    configuration:
      # Optional: reject visible entries that have not been approved.
      # This does not establish full coverage: complete is currently always false.
      approvedProtectionEntries:
        type: list(string)
        default: []
    variables:
      approved:
        fn::invoke:
          function: vercel:getProjectProtectionInventory
          arguments:
            projectId: prj_example
            teamId: team_example
    
    Example coming soon!
    

    This checks all reported entries, including expired links, pending requests, explicit denies and implicit defaults. It does not prove that no other access exists. To require full coverage too, add a separate postcondition with condition = self.complete; that condition currently always fails because public API coverage is incomplete.

    These assertions fail during planning when the data source is read during planning. Keep project and team inputs known and avoid dependencies on pending changes, which can defer the read to apply. Use a normal plan with refresh enabled; this is an observation of current access, not continuous enforcement.

    Using getProjectProtectionInventory

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getProjectProtectionInventory(args: GetProjectProtectionInventoryArgs, opts?: InvokeOptions): Promise<GetProjectProtectionInventoryResult>
    function getProjectProtectionInventoryOutput(args: GetProjectProtectionInventoryOutputArgs, opts?: InvokeOutputOptions): Output<GetProjectProtectionInventoryResult>
    def get_project_protection_inventory(project_id: Optional[str] = None,
                                         team_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetProjectProtectionInventoryResult
    def get_project_protection_inventory_output(project_id: pulumi.Input[Optional[str]] = None,
                                         team_id: pulumi.Input[Optional[str]] = None,
                                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetProjectProtectionInventoryResult]
    func GetProjectProtectionInventory(ctx *Context, args *GetProjectProtectionInventoryArgs, opts ...InvokeOption) (*GetProjectProtectionInventoryResult, error)
    func GetProjectProtectionInventoryOutput(ctx *Context, args *GetProjectProtectionInventoryOutputArgs, opts ...InvokeOption) GetProjectProtectionInventoryResultOutput

    > Note: This function is named GetProjectProtectionInventory in the Go SDK.

    public static class GetProjectProtectionInventory 
    {
        public static Task<GetProjectProtectionInventoryResult> InvokeAsync(GetProjectProtectionInventoryArgs args, InvokeOptions? opts = null)
        public static Output<GetProjectProtectionInventoryResult> Invoke(GetProjectProtectionInventoryInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetProjectProtectionInventoryResult> Invoke(GetProjectProtectionInventoryInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetProjectProtectionInventoryResult> getProjectProtectionInventory(GetProjectProtectionInventoryArgs args, InvokeOptions options)
    public static Output<GetProjectProtectionInventoryResult> getProjectProtectionInventory(GetProjectProtectionInventoryArgs args, InvokeOptions options)
    public static Output<GetProjectProtectionInventoryResult> getProjectProtectionInventory(GetProjectProtectionInventoryArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: vercel:index/getProjectProtectionInventory:getProjectProtectionInventory
      arguments:
        # arguments dictionary
    data "vercel_get_project_protection_inventory" "name" {
        # arguments
    }

    The following arguments are supported:

    ProjectId string
    The project ID. Names are not accepted so inventory identity survives project renames.
    TeamId string
    The team ID. Defaults to the provider's team.
    ProjectId string
    The project ID. Names are not accepted so inventory identity survives project renames.
    TeamId string
    The team ID. Defaults to the provider's team.
    project_id string
    The project ID. Names are not accepted so inventory identity survives project renames.
    team_id string
    The team ID. Defaults to the provider's team.
    projectId String
    The project ID. Names are not accepted so inventory identity survives project renames.
    teamId String
    The team ID. Defaults to the provider's team.
    projectId string
    The project ID. Names are not accepted so inventory identity survives project renames.
    teamId string
    The team ID. Defaults to the provider's team.
    project_id str
    The project ID. Names are not accepted so inventory identity survives project renames.
    team_id str
    The team ID. Defaults to the provider's team.
    projectId String
    The project ID. Names are not accepted so inventory identity survives project renames.
    teamId String
    The team ID. Defaults to the provider's team.

    getProjectProtectionInventory Result

    The following output properties are available:

    Complete bool
    Whether all project access routes are covered. Currently always false because public API coverage and token visibility are not guaranteed.
    Entries List<Pulumiverse.Vercel.Outputs.GetProjectProtectionInventoryEntry>
    Observed access entries, including implicit defaults and inactive entries. Entries are not filtered by their status.
    Id string
    The project ID.
    IncompleteReasons List<string>
    Known limitations and missing access metadata. An empty entries set must not be interpreted as no exceptions when this set is nonempty.
    ProjectId string
    The project ID. Names are not accepted so inventory identity survives project renames.
    TeamId string
    The team ID. Defaults to the provider's team.
    Complete bool
    Whether all project access routes are covered. Currently always false because public API coverage and token visibility are not guaranteed.
    Entries []GetProjectProtectionInventoryEntry
    Observed access entries, including implicit defaults and inactive entries. Entries are not filtered by their status.
    Id string
    The project ID.
    IncompleteReasons []string
    Known limitations and missing access metadata. An empty entries set must not be interpreted as no exceptions when this set is nonempty.
    ProjectId string
    The project ID. Names are not accepted so inventory identity survives project renames.
    TeamId string
    The team ID. Defaults to the provider's team.
    complete bool
    Whether all project access routes are covered. Currently always false because public API coverage and token visibility are not guaranteed.
    entries list(object)
    Observed access entries, including implicit defaults and inactive entries. Entries are not filtered by their status.
    id string
    The project ID.
    incomplete_reasons list(string)
    Known limitations and missing access metadata. An empty entries set must not be interpreted as no exceptions when this set is nonempty.
    project_id string
    The project ID. Names are not accepted so inventory identity survives project renames.
    team_id string
    The team ID. Defaults to the provider's team.
    complete Boolean
    Whether all project access routes are covered. Currently always false because public API coverage and token visibility are not guaranteed.
    entries List<GetProjectProtectionInventoryEntry>
    Observed access entries, including implicit defaults and inactive entries. Entries are not filtered by their status.
    id String
    The project ID.
    incompleteReasons List<String>
    Known limitations and missing access metadata. An empty entries set must not be interpreted as no exceptions when this set is nonempty.
    projectId String
    The project ID. Names are not accepted so inventory identity survives project renames.
    teamId String
    The team ID. Defaults to the provider's team.
    complete boolean
    Whether all project access routes are covered. Currently always false because public API coverage and token visibility are not guaranteed.
    entries GetProjectProtectionInventoryEntry[]
    Observed access entries, including implicit defaults and inactive entries. Entries are not filtered by their status.
    id string
    The project ID.
    incompleteReasons string[]
    Known limitations and missing access metadata. An empty entries set must not be interpreted as no exceptions when this set is nonempty.
    projectId string
    The project ID. Names are not accepted so inventory identity survives project renames.
    teamId string
    The team ID. Defaults to the provider's team.
    complete bool
    Whether all project access routes are covered. Currently always false because public API coverage and token visibility are not guaranteed.
    entries Sequence[GetProjectProtectionInventoryEntry]
    Observed access entries, including implicit defaults and inactive entries. Entries are not filtered by their status.
    id str
    The project ID.
    incomplete_reasons Sequence[str]
    Known limitations and missing access metadata. An empty entries set must not be interpreted as no exceptions when this set is nonempty.
    project_id str
    The project ID. Names are not accepted so inventory identity survives project renames.
    team_id str
    The team ID. Defaults to the provider's team.
    complete Boolean
    Whether all project access routes are covered. Currently always false because public API coverage and token visibility are not guaranteed.
    entries List<Property Map>
    Observed access entries, including implicit defaults and inactive entries. Entries are not filtered by their status.
    id String
    The project ID.
    incompleteReasons List<String>
    Known limitations and missing access metadata. An empty entries set must not be interpreted as no exceptions when this set is nonempty.
    projectId String
    The project ID. Names are not accepted so inventory identity survives project renames.
    teamId String
    The team ID. Defaults to the provider's team.

    Supporting Types

    GetProjectProtectionInventoryEntry

    Alias string
    Alias hostname, without a query string, or null for project access.
    ApprovalKey string
    Versioned fingerprint of the team, project, target, credential or subject, and access configuration. Changes when access changes.
    Claims Dictionary<string, ImmutableArray<string>>
    Required OIDC claims and accepted values for trusted-oidc access. Values are ORed within each claim; claims are ANDed.
    ConfigurationId string
    Integration configuration ID for integration-created automation access.
    CreatedAt int
    Creation time in Unix milliseconds, when returned by the API.
    CreatedBy string
    Creator ID, when returned by the API.
    CustomAllows List<Pulumiverse.Vercel.Inputs.GetProjectProtectionInventoryEntryCustomAllow>
    Custom environment rules for trusted-project access. Null uses defaults; an empty set explicitly denies access.
    ExpiresAt int
    Expiry time in Unix seconds, or null when no expiry was returned.
    Implicit bool
    Whether this entry represents implicit self-access or a Vercel CI default rather than an explicit rule.
    IntegrationId string
    Integration ID for integration-created automation access.
    IsEnvVar bool
    Whether an automation bypass is the deployment environment variable default. Omitted legacy values are interpreted as true. Null for other scopes.
    Issuer string
    OIDC issuer for trusted-oidc access.
    LastUpdatedAt int
    Last update time in Unix milliseconds, when returned by the API.
    LastUpdatedBy string
    Last updater ID, when returned by the API.
    Note string
    Display note or Trusted Source label, when returned by the API. Not used for approval identity.
    PathPrefix string
    Path prefix bypassed for OPTIONS requests, or null for other scopes.
    Scope string
    API bypass scope, or options-allowlist, trusted-project, trusted-oidc, or vercel-ci-same-repository. Unrecognized API scopes are retained with unknown status.
    Status string
    active, expired, granted, requested, invited, disabled, or unknown. Active describes configuration, not whether protection currently applies to a URL. Invitations are not treated as confirmed grants.
    Subject string
    The user or email map key for individual access, or null for other scopes. Bearer map keys are never returned.
    TargetId string
    The project or alias ID owning this entry.
    TargetType string
    The owner of the entry: project or alias.
    To Pulumiverse.Vercel.Inputs.GetProjectProtectionInventoryEntryTo
    Allowed target environments for trusted-oidc access.
    TrustedProjectId string
    Source project ID for trusted-project access.
    Alias string
    Alias hostname, without a query string, or null for project access.
    ApprovalKey string
    Versioned fingerprint of the team, project, target, credential or subject, and access configuration. Changes when access changes.
    Claims map[string][]string
    Required OIDC claims and accepted values for trusted-oidc access. Values are ORed within each claim; claims are ANDed.
    ConfigurationId string
    Integration configuration ID for integration-created automation access.
    CreatedAt int
    Creation time in Unix milliseconds, when returned by the API.
    CreatedBy string
    Creator ID, when returned by the API.
    CustomAllows []GetProjectProtectionInventoryEntryCustomAllow
    Custom environment rules for trusted-project access. Null uses defaults; an empty set explicitly denies access.
    ExpiresAt int
    Expiry time in Unix seconds, or null when no expiry was returned.
    Implicit bool
    Whether this entry represents implicit self-access or a Vercel CI default rather than an explicit rule.
    IntegrationId string
    Integration ID for integration-created automation access.
    IsEnvVar bool
    Whether an automation bypass is the deployment environment variable default. Omitted legacy values are interpreted as true. Null for other scopes.
    Issuer string
    OIDC issuer for trusted-oidc access.
    LastUpdatedAt int
    Last update time in Unix milliseconds, when returned by the API.
    LastUpdatedBy string
    Last updater ID, when returned by the API.
    Note string
    Display note or Trusted Source label, when returned by the API. Not used for approval identity.
    PathPrefix string
    Path prefix bypassed for OPTIONS requests, or null for other scopes.
    Scope string
    API bypass scope, or options-allowlist, trusted-project, trusted-oidc, or vercel-ci-same-repository. Unrecognized API scopes are retained with unknown status.
    Status string
    active, expired, granted, requested, invited, disabled, or unknown. Active describes configuration, not whether protection currently applies to a URL. Invitations are not treated as confirmed grants.
    Subject string
    The user or email map key for individual access, or null for other scopes. Bearer map keys are never returned.
    TargetId string
    The project or alias ID owning this entry.
    TargetType string
    The owner of the entry: project or alias.
    To GetProjectProtectionInventoryEntryTo
    Allowed target environments for trusted-oidc access.
    TrustedProjectId string
    Source project ID for trusted-project access.
    alias string
    Alias hostname, without a query string, or null for project access.
    approval_key string
    Versioned fingerprint of the team, project, target, credential or subject, and access configuration. Changes when access changes.
    claims map(list(string))
    Required OIDC claims and accepted values for trusted-oidc access. Values are ORed within each claim; claims are ANDed.
    configuration_id string
    Integration configuration ID for integration-created automation access.
    created_at number
    Creation time in Unix milliseconds, when returned by the API.
    created_by string
    Creator ID, when returned by the API.
    custom_allows list(object)
    Custom environment rules for trusted-project access. Null uses defaults; an empty set explicitly denies access.
    expires_at number
    Expiry time in Unix seconds, or null when no expiry was returned.
    implicit bool
    Whether this entry represents implicit self-access or a Vercel CI default rather than an explicit rule.
    integration_id string
    Integration ID for integration-created automation access.
    is_env_var bool
    Whether an automation bypass is the deployment environment variable default. Omitted legacy values are interpreted as true. Null for other scopes.
    issuer string
    OIDC issuer for trusted-oidc access.
    last_updated_at number
    Last update time in Unix milliseconds, when returned by the API.
    last_updated_by string
    Last updater ID, when returned by the API.
    note string
    Display note or Trusted Source label, when returned by the API. Not used for approval identity.
    path_prefix string
    Path prefix bypassed for OPTIONS requests, or null for other scopes.
    scope string
    API bypass scope, or options-allowlist, trusted-project, trusted-oidc, or vercel-ci-same-repository. Unrecognized API scopes are retained with unknown status.
    status string
    active, expired, granted, requested, invited, disabled, or unknown. Active describes configuration, not whether protection currently applies to a URL. Invitations are not treated as confirmed grants.
    subject string
    The user or email map key for individual access, or null for other scopes. Bearer map keys are never returned.
    target_id string
    The project or alias ID owning this entry.
    target_type string
    The owner of the entry: project or alias.
    to object
    Allowed target environments for trusted-oidc access.
    trusted_project_id string
    Source project ID for trusted-project access.
    alias String
    Alias hostname, without a query string, or null for project access.
    approvalKey String
    Versioned fingerprint of the team, project, target, credential or subject, and access configuration. Changes when access changes.
    claims Map<String,List<String>>
    Required OIDC claims and accepted values for trusted-oidc access. Values are ORed within each claim; claims are ANDed.
    configurationId String
    Integration configuration ID for integration-created automation access.
    createdAt Integer
    Creation time in Unix milliseconds, when returned by the API.
    createdBy String
    Creator ID, when returned by the API.
    customAllows List<GetProjectProtectionInventoryEntryCustomAllow>
    Custom environment rules for trusted-project access. Null uses defaults; an empty set explicitly denies access.
    expiresAt Integer
    Expiry time in Unix seconds, or null when no expiry was returned.
    implicit Boolean
    Whether this entry represents implicit self-access or a Vercel CI default rather than an explicit rule.
    integrationId String
    Integration ID for integration-created automation access.
    isEnvVar Boolean
    Whether an automation bypass is the deployment environment variable default. Omitted legacy values are interpreted as true. Null for other scopes.
    issuer String
    OIDC issuer for trusted-oidc access.
    lastUpdatedAt Integer
    Last update time in Unix milliseconds, when returned by the API.
    lastUpdatedBy String
    Last updater ID, when returned by the API.
    note String
    Display note or Trusted Source label, when returned by the API. Not used for approval identity.
    pathPrefix String
    Path prefix bypassed for OPTIONS requests, or null for other scopes.
    scope String
    API bypass scope, or options-allowlist, trusted-project, trusted-oidc, or vercel-ci-same-repository. Unrecognized API scopes are retained with unknown status.
    status String
    active, expired, granted, requested, invited, disabled, or unknown. Active describes configuration, not whether protection currently applies to a URL. Invitations are not treated as confirmed grants.
    subject String
    The user or email map key for individual access, or null for other scopes. Bearer map keys are never returned.
    targetId String
    The project or alias ID owning this entry.
    targetType String
    The owner of the entry: project or alias.
    to GetProjectProtectionInventoryEntryTo
    Allowed target environments for trusted-oidc access.
    trustedProjectId String
    Source project ID for trusted-project access.
    alias string
    Alias hostname, without a query string, or null for project access.
    approvalKey string
    Versioned fingerprint of the team, project, target, credential or subject, and access configuration. Changes when access changes.
    claims {[key: string]: string[]}
    Required OIDC claims and accepted values for trusted-oidc access. Values are ORed within each claim; claims are ANDed.
    configurationId string
    Integration configuration ID for integration-created automation access.
    createdAt number
    Creation time in Unix milliseconds, when returned by the API.
    createdBy string
    Creator ID, when returned by the API.
    customAllows GetProjectProtectionInventoryEntryCustomAllow[]
    Custom environment rules for trusted-project access. Null uses defaults; an empty set explicitly denies access.
    expiresAt number
    Expiry time in Unix seconds, or null when no expiry was returned.
    implicit boolean
    Whether this entry represents implicit self-access or a Vercel CI default rather than an explicit rule.
    integrationId string
    Integration ID for integration-created automation access.
    isEnvVar boolean
    Whether an automation bypass is the deployment environment variable default. Omitted legacy values are interpreted as true. Null for other scopes.
    issuer string
    OIDC issuer for trusted-oidc access.
    lastUpdatedAt number
    Last update time in Unix milliseconds, when returned by the API.
    lastUpdatedBy string
    Last updater ID, when returned by the API.
    note string
    Display note or Trusted Source label, when returned by the API. Not used for approval identity.
    pathPrefix string
    Path prefix bypassed for OPTIONS requests, or null for other scopes.
    scope string
    API bypass scope, or options-allowlist, trusted-project, trusted-oidc, or vercel-ci-same-repository. Unrecognized API scopes are retained with unknown status.
    status string
    active, expired, granted, requested, invited, disabled, or unknown. Active describes configuration, not whether protection currently applies to a URL. Invitations are not treated as confirmed grants.
    subject string
    The user or email map key for individual access, or null for other scopes. Bearer map keys are never returned.
    targetId string
    The project or alias ID owning this entry.
    targetType string
    The owner of the entry: project or alias.
    to GetProjectProtectionInventoryEntryTo
    Allowed target environments for trusted-oidc access.
    trustedProjectId string
    Source project ID for trusted-project access.
    alias str
    Alias hostname, without a query string, or null for project access.
    approval_key str
    Versioned fingerprint of the team, project, target, credential or subject, and access configuration. Changes when access changes.
    claims Mapping[str, Sequence[str]]
    Required OIDC claims and accepted values for trusted-oidc access. Values are ORed within each claim; claims are ANDed.
    configuration_id str
    Integration configuration ID for integration-created automation access.
    created_at int
    Creation time in Unix milliseconds, when returned by the API.
    created_by str
    Creator ID, when returned by the API.
    custom_allows Sequence[GetProjectProtectionInventoryEntryCustomAllow]
    Custom environment rules for trusted-project access. Null uses defaults; an empty set explicitly denies access.
    expires_at int
    Expiry time in Unix seconds, or null when no expiry was returned.
    implicit bool
    Whether this entry represents implicit self-access or a Vercel CI default rather than an explicit rule.
    integration_id str
    Integration ID for integration-created automation access.
    is_env_var bool
    Whether an automation bypass is the deployment environment variable default. Omitted legacy values are interpreted as true. Null for other scopes.
    issuer str
    OIDC issuer for trusted-oidc access.
    last_updated_at int
    Last update time in Unix milliseconds, when returned by the API.
    last_updated_by str
    Last updater ID, when returned by the API.
    note str
    Display note or Trusted Source label, when returned by the API. Not used for approval identity.
    path_prefix str
    Path prefix bypassed for OPTIONS requests, or null for other scopes.
    scope str
    API bypass scope, or options-allowlist, trusted-project, trusted-oidc, or vercel-ci-same-repository. Unrecognized API scopes are retained with unknown status.
    status str
    active, expired, granted, requested, invited, disabled, or unknown. Active describes configuration, not whether protection currently applies to a URL. Invitations are not treated as confirmed grants.
    subject str
    The user or email map key for individual access, or null for other scopes. Bearer map keys are never returned.
    target_id str
    The project or alias ID owning this entry.
    target_type str
    The owner of the entry: project or alias.
    to GetProjectProtectionInventoryEntryTo
    Allowed target environments for trusted-oidc access.
    trusted_project_id str
    Source project ID for trusted-project access.
    alias String
    Alias hostname, without a query string, or null for project access.
    approvalKey String
    Versioned fingerprint of the team, project, target, credential or subject, and access configuration. Changes when access changes.
    claims Map<List<String>>
    Required OIDC claims and accepted values for trusted-oidc access. Values are ORed within each claim; claims are ANDed.
    configurationId String
    Integration configuration ID for integration-created automation access.
    createdAt Number
    Creation time in Unix milliseconds, when returned by the API.
    createdBy String
    Creator ID, when returned by the API.
    customAllows List<Property Map>
    Custom environment rules for trusted-project access. Null uses defaults; an empty set explicitly denies access.
    expiresAt Number
    Expiry time in Unix seconds, or null when no expiry was returned.
    implicit Boolean
    Whether this entry represents implicit self-access or a Vercel CI default rather than an explicit rule.
    integrationId String
    Integration ID for integration-created automation access.
    isEnvVar Boolean
    Whether an automation bypass is the deployment environment variable default. Omitted legacy values are interpreted as true. Null for other scopes.
    issuer String
    OIDC issuer for trusted-oidc access.
    lastUpdatedAt Number
    Last update time in Unix milliseconds, when returned by the API.
    lastUpdatedBy String
    Last updater ID, when returned by the API.
    note String
    Display note or Trusted Source label, when returned by the API. Not used for approval identity.
    pathPrefix String
    Path prefix bypassed for OPTIONS requests, or null for other scopes.
    scope String
    API bypass scope, or options-allowlist, trusted-project, trusted-oidc, or vercel-ci-same-repository. Unrecognized API scopes are retained with unknown status.
    status String
    active, expired, granted, requested, invited, disabled, or unknown. Active describes configuration, not whether protection currently applies to a URL. Invitations are not treated as confirmed grants.
    subject String
    The user or email map key for individual access, or null for other scopes. Bearer map keys are never returned.
    targetId String
    The project or alias ID owning this entry.
    targetType String
    The owner of the entry: project or alias.
    to Property Map
    Allowed target environments for trusted-oidc access.
    trustedProjectId String
    Source project ID for trusted-project access.

    GetProjectProtectionInventoryEntryCustomAllow

    From Pulumiverse.Vercel.Inputs.GetProjectProtectionInventoryEntryCustomAllowFrom
    The source environments on the trusted project that are allowed to access the target environments.
    To Pulumiverse.Vercel.Inputs.GetProjectProtectionInventoryEntryCustomAllowTo
    The target environments on this project that may be accessed.
    From GetProjectProtectionInventoryEntryCustomAllowFrom
    The source environments on the trusted project that are allowed to access the target environments.
    To GetProjectProtectionInventoryEntryCustomAllowTo
    The target environments on this project that may be accessed.
    from object
    The source environments on the trusted project that are allowed to access the target environments.
    to object
    The target environments on this project that may be accessed.
    from GetProjectProtectionInventoryEntryCustomAllowFrom
    The source environments on the trusted project that are allowed to access the target environments.
    to GetProjectProtectionInventoryEntryCustomAllowTo
    The target environments on this project that may be accessed.
    from GetProjectProtectionInventoryEntryCustomAllowFrom
    The source environments on the trusted project that are allowed to access the target environments.
    to GetProjectProtectionInventoryEntryCustomAllowTo
    The target environments on this project that may be accessed.
    from_ GetProjectProtectionInventoryEntryCustomAllowFrom
    The source environments on the trusted project that are allowed to access the target environments.
    to GetProjectProtectionInventoryEntryCustomAllowTo
    The target environments on this project that may be accessed.
    from Property Map
    The source environments on the trusted project that are allowed to access the target environments.
    to Property Map
    The target environments on this project that may be accessed.

    GetProjectProtectionInventoryEntryCustomAllowFrom

    Preset string
    Named environment preset. Currently only all-custom is supported.
    Slugs List<string>
    System environment slugs (production, preview, development) or custom environment slugs.
    Preset string
    Named environment preset. Currently only all-custom is supported.
    Slugs []string
    System environment slugs (production, preview, development) or custom environment slugs.
    preset string
    Named environment preset. Currently only all-custom is supported.
    slugs list(string)
    System environment slugs (production, preview, development) or custom environment slugs.
    preset String
    Named environment preset. Currently only all-custom is supported.
    slugs List<String>
    System environment slugs (production, preview, development) or custom environment slugs.
    preset string
    Named environment preset. Currently only all-custom is supported.
    slugs string[]
    System environment slugs (production, preview, development) or custom environment slugs.
    preset str
    Named environment preset. Currently only all-custom is supported.
    slugs Sequence[str]
    System environment slugs (production, preview, development) or custom environment slugs.
    preset String
    Named environment preset. Currently only all-custom is supported.
    slugs List<String>
    System environment slugs (production, preview, development) or custom environment slugs.

    GetProjectProtectionInventoryEntryCustomAllowTo

    Preset string
    Named environment preset. Currently only all-custom is supported.
    Slugs List<string>
    System environment slugs (production, preview, development) or custom environment slugs.
    Preset string
    Named environment preset. Currently only all-custom is supported.
    Slugs []string
    System environment slugs (production, preview, development) or custom environment slugs.
    preset string
    Named environment preset. Currently only all-custom is supported.
    slugs list(string)
    System environment slugs (production, preview, development) or custom environment slugs.
    preset String
    Named environment preset. Currently only all-custom is supported.
    slugs List<String>
    System environment slugs (production, preview, development) or custom environment slugs.
    preset string
    Named environment preset. Currently only all-custom is supported.
    slugs string[]
    System environment slugs (production, preview, development) or custom environment slugs.
    preset str
    Named environment preset. Currently only all-custom is supported.
    slugs Sequence[str]
    System environment slugs (production, preview, development) or custom environment slugs.
    preset String
    Named environment preset. Currently only all-custom is supported.
    slugs List<String>
    System environment slugs (production, preview, development) or custom environment slugs.

    GetProjectProtectionInventoryEntryTo

    Preset string
    Named environment preset. Currently only all-custom is supported.
    Slugs List<string>
    System environment slugs (production, preview, development) or custom environment slugs.
    Preset string
    Named environment preset. Currently only all-custom is supported.
    Slugs []string
    System environment slugs (production, preview, development) or custom environment slugs.
    preset string
    Named environment preset. Currently only all-custom is supported.
    slugs list(string)
    System environment slugs (production, preview, development) or custom environment slugs.
    preset String
    Named environment preset. Currently only all-custom is supported.
    slugs List<String>
    System environment slugs (production, preview, development) or custom environment slugs.
    preset string
    Named environment preset. Currently only all-custom is supported.
    slugs string[]
    System environment slugs (production, preview, development) or custom environment slugs.
    preset str
    Named environment preset. Currently only all-custom is supported.
    slugs Sequence[str]
    System environment slugs (production, preview, development) or custom environment slugs.
    preset String
    Named environment preset. Currently only all-custom is supported.
    slugs List<String>
    System environment slugs (production, preview, development) or custom environment slugs.

    Package Details

    Repository
    vercel pulumiverse/pulumi-vercel
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vercel Terraform Provider.
    vercel logo vercel logo
    Viewing docs for Vercel v5.27.0
    published on Sunday, Nov 15, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial