iam

package
v0.81.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServicePrincipalDataSource

func NewServicePrincipalDataSource() datasource.DataSource

func NewServicePrincipalKeyResource

func NewServicePrincipalKeyResource() resource.Resource

func NewServicePrincipalResource

func NewServicePrincipalResource() resource.Resource

func NewWorkloadIdentityProviderResource added in v0.75.0

func NewWorkloadIdentityProviderResource() resource.Resource

Types

type AWSProvider added in v0.75.0

type AWSProvider struct {
	AccountID types.String `tfsdk:"account_id"`
}

func (AWSProvider) AttributeTypes added in v0.75.0

func (a AWSProvider) AttributeTypes() map[string]attr.Type

type DataSourceServicePrincipal

type DataSourceServicePrincipal struct {
	// contains filtered or unexported fields
}

func (*DataSourceServicePrincipal) Configure

func (*DataSourceServicePrincipal) Metadata

func (*DataSourceServicePrincipal) Read

func (*DataSourceServicePrincipal) Schema

type DataSourceServicePrincipalModel

type DataSourceServicePrincipalModel struct {
	Name         types.String `tfsdk:"name"`
	ResourceName types.String `tfsdk:"resource_name"`
	ResourceID   types.String `tfsdk:"resource_id"`
}

type OIDCProvider added in v0.75.0

type OIDCProvider struct {
	IssuerURL        types.String `tfsdk:"issuer_uri"`
	AllowedAudiences types.Set    `tfsdk:"allowed_audiences"`
	// contains filtered or unexported fields
}

func (OIDCProvider) AttributeTypes added in v0.75.0

func (o OIDCProvider) AttributeTypes() map[string]attr.Type

type ServicePrincipal

type ServicePrincipal struct {
	ResourceID   types.String `tfsdk:"resource_id"`
	ResourceName types.String `tfsdk:"resource_name"`
	Name         types.String `tfsdk:"name"`
	Parent       types.String `tfsdk:"parent"`
}

type ServicePrincipalKey

type ServicePrincipalKey struct {
	ResourceName     types.String `tfsdk:"resource_name"`
	ClientID         types.String `tfsdk:"client_id"`
	ClientSecret     types.String `tfsdk:"client_secret"`
	ServicePrincipal types.String `tfsdk:"service_principal"`
	RotateTriggers   types.Map    `tfsdk:"rotate_triggers"`
}

type WorkloadIdentityProvider added in v0.75.0

type WorkloadIdentityProvider struct {
	Name              types.String `tfsdk:"name"`
	ServicePrincipal  types.String `tfsdk:"service_principal"`
	Description       types.String `tfsdk:"description"`
	ConditionalAccess types.String `tfsdk:"conditional_access"`
	AWS               types.Object `tfsdk:"aws"`
	OIDC              types.Object `tfsdk:"oidc"`
	ResourceID        types.String `tfsdk:"resource_id"`
	ResourceName      types.String `tfsdk:"resource_name"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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