identitydataplane

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratedScopedAccessToken

type GeneratedScopedAccessToken struct {
	pulumi.CustomResourceState

	// 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.StringOutput `pulumi:"publicKey"`
	// 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.StringOutput `pulumi:"scope"`
	// The security token, signed by auth service
	Token pulumi.StringOutput `pulumi:"token"`
}

This resource provides the Generate Scoped Access Token resource in Oracle Cloud Infrastructure Identity Data Plane service.

Based on the calling principal and the input payload, derive the claims and create a security token.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/IdentityDataPlane"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := IdentityDataPlane.NewGeneratedScopedAccessToken(ctx, "test_generate_scoped_access_token", &IdentityDataPlane.GeneratedScopedAccessTokenArgs{
			PublicKey: pulumi.Any(generateScopedAccessTokenPublicKey),
			Scope:     pulumi.Any(generateScopedAccessTokenScope),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GenerateScopedAccessToken can be imported using the `id`, e.g.

```sh $ pulumi import oci:IdentityDataPlane/generatedScopedAccessToken:GeneratedScopedAccessToken test_generate_scoped_access_token "id" ```

func GetGeneratedScopedAccessToken

func GetGeneratedScopedAccessToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GeneratedScopedAccessTokenState, opts ...pulumi.ResourceOption) (*GeneratedScopedAccessToken, error)

GetGeneratedScopedAccessToken gets an existing GeneratedScopedAccessToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGeneratedScopedAccessToken

func NewGeneratedScopedAccessToken(ctx *pulumi.Context,
	name string, args *GeneratedScopedAccessTokenArgs, opts ...pulumi.ResourceOption) (*GeneratedScopedAccessToken, error)

NewGeneratedScopedAccessToken registers a new resource with the given unique name, arguments, and options.

func (*GeneratedScopedAccessToken) ElementType

func (*GeneratedScopedAccessToken) ElementType() reflect.Type

func (*GeneratedScopedAccessToken) ToGeneratedScopedAccessTokenOutput

func (i *GeneratedScopedAccessToken) ToGeneratedScopedAccessTokenOutput() GeneratedScopedAccessTokenOutput

func (*GeneratedScopedAccessToken) ToGeneratedScopedAccessTokenOutputWithContext

func (i *GeneratedScopedAccessToken) ToGeneratedScopedAccessTokenOutputWithContext(ctx context.Context) GeneratedScopedAccessTokenOutput

type GeneratedScopedAccessTokenArgs

type GeneratedScopedAccessTokenArgs struct {
	// 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.StringInput
	// 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.StringInput
}

The set of arguments for constructing a GeneratedScopedAccessToken resource.

func (GeneratedScopedAccessTokenArgs) ElementType

type GeneratedScopedAccessTokenArray

type GeneratedScopedAccessTokenArray []GeneratedScopedAccessTokenInput

func (GeneratedScopedAccessTokenArray) ElementType

func (GeneratedScopedAccessTokenArray) ToGeneratedScopedAccessTokenArrayOutput

func (i GeneratedScopedAccessTokenArray) ToGeneratedScopedAccessTokenArrayOutput() GeneratedScopedAccessTokenArrayOutput

func (GeneratedScopedAccessTokenArray) ToGeneratedScopedAccessTokenArrayOutputWithContext

func (i GeneratedScopedAccessTokenArray) ToGeneratedScopedAccessTokenArrayOutputWithContext(ctx context.Context) GeneratedScopedAccessTokenArrayOutput

type GeneratedScopedAccessTokenArrayInput

type GeneratedScopedAccessTokenArrayInput interface {
	pulumi.Input

	ToGeneratedScopedAccessTokenArrayOutput() GeneratedScopedAccessTokenArrayOutput
	ToGeneratedScopedAccessTokenArrayOutputWithContext(context.Context) GeneratedScopedAccessTokenArrayOutput
}

GeneratedScopedAccessTokenArrayInput is an input type that accepts GeneratedScopedAccessTokenArray and GeneratedScopedAccessTokenArrayOutput values. You can construct a concrete instance of `GeneratedScopedAccessTokenArrayInput` via:

GeneratedScopedAccessTokenArray{ GeneratedScopedAccessTokenArgs{...} }

type GeneratedScopedAccessTokenArrayOutput

type GeneratedScopedAccessTokenArrayOutput struct{ *pulumi.OutputState }

func (GeneratedScopedAccessTokenArrayOutput) ElementType

func (GeneratedScopedAccessTokenArrayOutput) Index

func (GeneratedScopedAccessTokenArrayOutput) ToGeneratedScopedAccessTokenArrayOutput

func (o GeneratedScopedAccessTokenArrayOutput) ToGeneratedScopedAccessTokenArrayOutput() GeneratedScopedAccessTokenArrayOutput

func (GeneratedScopedAccessTokenArrayOutput) ToGeneratedScopedAccessTokenArrayOutputWithContext

func (o GeneratedScopedAccessTokenArrayOutput) ToGeneratedScopedAccessTokenArrayOutputWithContext(ctx context.Context) GeneratedScopedAccessTokenArrayOutput

type GeneratedScopedAccessTokenInput

type GeneratedScopedAccessTokenInput interface {
	pulumi.Input

	ToGeneratedScopedAccessTokenOutput() GeneratedScopedAccessTokenOutput
	ToGeneratedScopedAccessTokenOutputWithContext(ctx context.Context) GeneratedScopedAccessTokenOutput
}

type GeneratedScopedAccessTokenMap

type GeneratedScopedAccessTokenMap map[string]GeneratedScopedAccessTokenInput

func (GeneratedScopedAccessTokenMap) ElementType

func (GeneratedScopedAccessTokenMap) ToGeneratedScopedAccessTokenMapOutput

func (i GeneratedScopedAccessTokenMap) ToGeneratedScopedAccessTokenMapOutput() GeneratedScopedAccessTokenMapOutput

func (GeneratedScopedAccessTokenMap) ToGeneratedScopedAccessTokenMapOutputWithContext

func (i GeneratedScopedAccessTokenMap) ToGeneratedScopedAccessTokenMapOutputWithContext(ctx context.Context) GeneratedScopedAccessTokenMapOutput

type GeneratedScopedAccessTokenMapInput

type GeneratedScopedAccessTokenMapInput interface {
	pulumi.Input

	ToGeneratedScopedAccessTokenMapOutput() GeneratedScopedAccessTokenMapOutput
	ToGeneratedScopedAccessTokenMapOutputWithContext(context.Context) GeneratedScopedAccessTokenMapOutput
}

GeneratedScopedAccessTokenMapInput is an input type that accepts GeneratedScopedAccessTokenMap and GeneratedScopedAccessTokenMapOutput values. You can construct a concrete instance of `GeneratedScopedAccessTokenMapInput` via:

GeneratedScopedAccessTokenMap{ "key": GeneratedScopedAccessTokenArgs{...} }

type GeneratedScopedAccessTokenMapOutput

type GeneratedScopedAccessTokenMapOutput struct{ *pulumi.OutputState }

func (GeneratedScopedAccessTokenMapOutput) ElementType

func (GeneratedScopedAccessTokenMapOutput) MapIndex

func (GeneratedScopedAccessTokenMapOutput) ToGeneratedScopedAccessTokenMapOutput

func (o GeneratedScopedAccessTokenMapOutput) ToGeneratedScopedAccessTokenMapOutput() GeneratedScopedAccessTokenMapOutput

func (GeneratedScopedAccessTokenMapOutput) ToGeneratedScopedAccessTokenMapOutputWithContext

func (o GeneratedScopedAccessTokenMapOutput) ToGeneratedScopedAccessTokenMapOutputWithContext(ctx context.Context) GeneratedScopedAccessTokenMapOutput

type GeneratedScopedAccessTokenOutput

type GeneratedScopedAccessTokenOutput struct{ *pulumi.OutputState }

func (GeneratedScopedAccessTokenOutput) ElementType

func (GeneratedScopedAccessTokenOutput) PublicKey added in v0.4.0

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.

func (GeneratedScopedAccessTokenOutput) Scope added in v0.4.0

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

func (GeneratedScopedAccessTokenOutput) ToGeneratedScopedAccessTokenOutput

func (o GeneratedScopedAccessTokenOutput) ToGeneratedScopedAccessTokenOutput() GeneratedScopedAccessTokenOutput

func (GeneratedScopedAccessTokenOutput) ToGeneratedScopedAccessTokenOutputWithContext

func (o GeneratedScopedAccessTokenOutput) ToGeneratedScopedAccessTokenOutputWithContext(ctx context.Context) GeneratedScopedAccessTokenOutput

func (GeneratedScopedAccessTokenOutput) Token added in v0.4.0

The security token, signed by auth service

type GeneratedScopedAccessTokenState

type GeneratedScopedAccessTokenState struct {
	// 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.StringPtrInput
	// 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.StringPtrInput
	// The security token, signed by auth service
	Token pulumi.StringPtrInput
}

func (GeneratedScopedAccessTokenState) ElementType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL