import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Generate Scoped Access Token resource in Oracle Cloud Infrastructure Identity Data Plane service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/identity_data_plane * * Based on the calling principal and the input payload, derive the claims and create a security token. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testGenerateScopedAccessToken = new oci.identitydataplane.GeneratedScopedAccessToken("test_generate_scoped_access_token", { * publicKey: generateScopedAccessTokenPublicKey, * scope: generateScopedAccessTokenScope, * }); * ``` * * ## Import * * GenerateScopedAccessToken can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:IdentityDataPlane/generatedScopedAccessToken:GeneratedScopedAccessToken test_generate_scoped_access_token "id" * ``` */ export declare class GeneratedScopedAccessToken extends pulumi.CustomResource { /** * Get an existing GeneratedScopedAccessToken resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GeneratedScopedAccessTokenState, opts?: pulumi.CustomResourceOptions): GeneratedScopedAccessToken; /** * Returns true if the given object is an instance of GeneratedScopedAccessToken. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is GeneratedScopedAccessToken; /** * A temporary public key, owned by the service. The service also owns the corresponding private key. This public key will by put inside the security token by the auth service after successful validation of the certificate. */ readonly publicKey: pulumi.Output; /** * Scope definition for the scoped access token * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly scope: pulumi.Output; /** * The security token, signed by auth service */ readonly token: pulumi.Output; /** * Create a GeneratedScopedAccessToken resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GeneratedScopedAccessTokenArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GeneratedScopedAccessToken resources. */ export interface GeneratedScopedAccessTokenState { /** * A temporary public key, owned by the service. The service also owns the corresponding private key. This public key will by put inside the security token by the auth service after successful validation of the certificate. */ publicKey?: pulumi.Input; /** * Scope definition for the scoped access token * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ scope?: pulumi.Input; /** * The security token, signed by auth service */ token?: pulumi.Input; } /** * The set of arguments for constructing a GeneratedScopedAccessToken resource. */ export interface GeneratedScopedAccessTokenArgs { /** * A temporary public key, owned by the service. The service also owns the corresponding private key. This public key will by put inside the security token by the auth service after successful validation of the certificate. */ publicKey: pulumi.Input; /** * Scope definition for the scoped access token * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ scope: pulumi.Input; } //# sourceMappingURL=generatedScopedAccessToken.d.ts.map