vault: github.com/hashicorp/vault/helper/identity Index | Files | Directories

package identity

import "github.com/hashicorp/vault/helper/identity"

Index

Package Files

identity.go sentinel.go templating.go types.pb.go

Constants

const (
    ACLTemplating = iota // must be the first value for backwards compatibility
    JSONTemplating
)

Variables

var (
    ErrUnbalancedTemplatingCharacter = errors.New("unbalanced templating characters")
    ErrNoEntityAttachedToToken       = errors.New("string contains entity template directives but no entity was provided")
    ErrNoGroupsAttachedToToken       = errors.New("string contains groups template directives but no groups were provided")
    ErrTemplateValueNotFound         = errors.New("no value could be found for one of the template directives")
)

func PopulateString Uses

func PopulateString(p PopulateStringInput) (bool, string, error)

type Alias Uses

type Alias struct {
    // ID is the unique identifier that represents this alias
    ID  string `sentinel:"" protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // CanonicalID is the entity identifier to which this alias belongs to
    CanonicalID string `sentinel:"" protobuf:"bytes,2,opt,name=canonical_id,json=canonicalId,proto3" json:"canonical_id,omitempty"`
    // MountType is the backend mount's type to which this alias belongs to.
    // This enables categorically querying aliases of specific backend types.
    MountType string `sentinel:"" protobuf:"bytes,3,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
    // MountAccessor is the backend mount's accessor to which this alias
    // belongs to.
    MountAccessor string `sentinel:"" protobuf:"bytes,4,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
    // MountPath is the backend mount's path to which the Maccessor belongs to. This
    // field is not used for any operational purposes. This is only returned when
    // alias is read, only as a nicety.
    MountPath string `sentinel:"" protobuf:"bytes,5,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
    // Metadata is the explicit metadata that clients set against an entity
    // which enables virtual grouping of aliases. Aliases will be indexed
    // against their metadata.
    Metadata map[string]string `sentinel:"" protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Name is the identifier of this alias in its authentication source.
    // This does not uniquely identify an alias in Vault. This in conjunction
    // with MountAccessor form to be the factors that represent an alias in a
    // unique way. Aliases will be indexed based on this combined uniqueness
    // factor.
    Name string `sentinel:"" protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
    // CreationTime is the time at which this alias was first created
    CreationTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
    // LastUpdateTime is the most recent time at which the properties of this
    // alias got modified. This is helpful in filtering out aliases based
    // on its age and to take action on them, if desired.
    LastUpdateTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,9,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
    // MergedFromCanonicalIDs is the FIFO history of merging activity
    MergedFromCanonicalIDs []string `sentinel:"" protobuf:"bytes,10,rep,name=merged_from_canonical_ids,json=mergedFromCanonicalIds,proto3" json:"merged_from_canonical_ids,omitempty"`
    // NamespaceID is the identifier of the namespace to which this alias
    // belongs.
    NamespaceID          string   `sentinel:"" protobuf:"bytes,11,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Alias represents the alias that gets stored inside of the entity object in storage and also represents in an in-memory index of an alias object.

func (*Alias) Clone Uses

func (p *Alias) Clone() (*Alias, error)

func (*Alias) Descriptor Uses

func (*Alias) Descriptor() ([]byte, []int)

func (*Alias) GetCanonicalID Uses

func (m *Alias) GetCanonicalID() string

func (*Alias) GetCreationTime Uses

func (m *Alias) GetCreationTime() *timestamp.Timestamp

func (*Alias) GetID Uses

func (m *Alias) GetID() string

func (*Alias) GetLastUpdateTime Uses

func (m *Alias) GetLastUpdateTime() *timestamp.Timestamp

func (*Alias) GetMergedFromCanonicalIDs Uses

func (m *Alias) GetMergedFromCanonicalIDs() []string

func (*Alias) GetMetadata Uses

func (m *Alias) GetMetadata() map[string]string

func (*Alias) GetMountAccessor Uses

func (m *Alias) GetMountAccessor() string

func (*Alias) GetMountPath Uses

func (m *Alias) GetMountPath() string

func (*Alias) GetMountType Uses

func (m *Alias) GetMountType() string

func (*Alias) GetName Uses

func (m *Alias) GetName() string

func (*Alias) GetNamespaceID Uses

func (m *Alias) GetNamespaceID() string

func (*Alias) ProtoMessage Uses

func (*Alias) ProtoMessage()

func (*Alias) Reset Uses

func (m *Alias) Reset()

func (*Alias) SentinelGet Uses

func (p *Alias) SentinelGet(key string) (interface{}, error)

func (*Alias) SentinelKeys Uses

func (a *Alias) SentinelKeys() []string

func (*Alias) String Uses

func (m *Alias) String() string

func (*Alias) XXX_DiscardUnknown Uses

func (m *Alias) XXX_DiscardUnknown()

func (*Alias) XXX_Marshal Uses

func (m *Alias) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Alias) XXX_Merge Uses

func (m *Alias) XXX_Merge(src proto.Message)

func (*Alias) XXX_Size Uses

func (m *Alias) XXX_Size() int

func (*Alias) XXX_Unmarshal Uses

func (m *Alias) XXX_Unmarshal(b []byte) error

type Entity Uses

type Entity struct {
    // Aliases are the identities that this entity is made of. This can be
    // empty as well to favor being able to create the entity first and then
    // incrementally adding aliases.
    Aliases []*Alias `sentinel:"" protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"`
    // ID is the unique identifier of the entity which always be a UUID. This
    // should never be allowed to be updated.
    ID  string `sentinel:"" protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
    // Name is a unique identifier of the entity which is intended to be
    // human-friendly. The default name might not be human friendly since it
    // gets suffixed by a UUID, but it can optionally be updated, unlike the ID
    // field.
    Name string `sentinel:"" protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
    // Metadata represents the explicit metadata which is set by the
    // clients.  This is useful to tie any information pertaining to the
    // aliases. This is a non-unique field of entity, meaning multiple
    // entities can have the same metadata set. Entities will be indexed based
    // on this explicit metadata. This enables virtual groupings of entities
    // based on its metadata.
    Metadata map[string]string `sentinel:"" protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // CreationTime is the time at which this entity is first created.
    CreationTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
    // LastUpdateTime is the most recent time at which the properties of this
    // entity got modified. This is helpful in filtering out entities based on
    // its age and to take action on them, if desired.
    LastUpdateTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
    // MergedEntityIDs are the entities which got merged to this one. Entities
    // will be indexed based on all the entities that got merged into it. This
    // helps to apply the actions on this entity on the tokens that are merged
    // to the merged entities. Merged entities will be deleted entirely and
    // this is the only trackable trail of its earlier presence.
    MergedEntityIDs []string `sentinel:"" protobuf:"bytes,7,rep,name=merged_entity_ids,json=mergedEntityIDs,proto3" json:"merged_entity_ids,omitempty"`
    // Policies the entity is entitled to
    Policies []string `sentinel:"" protobuf:"bytes,8,rep,name=policies,proto3" json:"policies,omitempty"`
    // BucketKey is the path of the storage packer key into which this entity is
    // stored.
    BucketKey string `sentinel:"" protobuf:"bytes,9,opt,name=bucket_key,json=bucketKey,proto3" json:"bucket_key,omitempty"`
    // MFASecrets holds the MFA secrets indexed by the identifier of the MFA
    // method configuration.
    MFASecrets map[string]*mfa.Secret `sentinel:"" protobuf:"bytes,10,rep,name=mfa_secrets,json=mfaSecrets,proto3" json:"mfa_secrets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Disabled indicates whether tokens associated with the account should not
    // be able to be used
    Disabled bool `sentinel:"" protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"`
    // NamespaceID is the identifier of the namespace to which this entity
    // belongs to. Do not return this value over the API when reading the
    // entity.
    NamespaceID          string   `sentinel:"" protobuf:"bytes,12,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Entity represents an entity that gets persisted and indexed. Entity is fundamentally composed of zero or many aliases.

func (*Entity) Clone Uses

func (e *Entity) Clone() (*Entity, error)

func (*Entity) Descriptor Uses

func (*Entity) Descriptor() ([]byte, []int)

func (*Entity) GetAliases Uses

func (m *Entity) GetAliases() []*Alias

func (*Entity) GetBucketKey Uses

func (m *Entity) GetBucketKey() string

func (*Entity) GetCreationTime Uses

func (m *Entity) GetCreationTime() *timestamp.Timestamp

func (*Entity) GetDisabled Uses

func (m *Entity) GetDisabled() bool

func (*Entity) GetID Uses

func (m *Entity) GetID() string

func (*Entity) GetLastUpdateTime Uses

func (m *Entity) GetLastUpdateTime() *timestamp.Timestamp

func (*Entity) GetMFASecrets Uses

func (m *Entity) GetMFASecrets() map[string]*mfa.Secret

func (*Entity) GetMergedEntityIDs Uses

func (m *Entity) GetMergedEntityIDs() []string

func (*Entity) GetMetadata Uses

func (m *Entity) GetMetadata() map[string]string

func (*Entity) GetName Uses

func (m *Entity) GetName() string

func (*Entity) GetNamespaceID Uses

func (m *Entity) GetNamespaceID() string

func (*Entity) GetPolicies Uses

func (m *Entity) GetPolicies() []string

func (*Entity) ProtoMessage Uses

func (*Entity) ProtoMessage()

func (*Entity) Reset Uses

func (m *Entity) Reset()

func (*Entity) SentinelGet Uses

func (e *Entity) SentinelGet(key string) (interface{}, error)

func (*Entity) SentinelKeys Uses

func (e *Entity) SentinelKeys() []string

func (*Entity) String Uses

func (m *Entity) String() string

func (*Entity) XXX_DiscardUnknown Uses

func (m *Entity) XXX_DiscardUnknown()

func (*Entity) XXX_Marshal Uses

func (m *Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Entity) XXX_Merge Uses

func (m *Entity) XXX_Merge(src proto.Message)

func (*Entity) XXX_Size Uses

func (m *Entity) XXX_Size() int

func (*Entity) XXX_Unmarshal Uses

func (m *Entity) XXX_Unmarshal(b []byte) error

type EntityStorageEntry Uses

type EntityStorageEntry struct {
    Personas             []*PersonaIndexEntry   `sentinel:"" protobuf:"bytes,1,rep,name=personas,proto3" json:"personas,omitempty"`
    ID                   string                 `sentinel:"" protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
    Name                 string                 `sentinel:"" protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
    Metadata             map[string]string      `sentinel:"" protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    CreationTime         *timestamp.Timestamp   `sentinel:"" protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
    LastUpdateTime       *timestamp.Timestamp   `sentinel:"" protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
    MergedEntityIDs      []string               `sentinel:"" protobuf:"bytes,7,rep,name=merged_entity_ids,json=mergedEntityIDs,proto3" json:"merged_entity_ids,omitempty"`
    Policies             []string               `sentinel:"" protobuf:"bytes,8,rep,name=policies,proto3" json:"policies,omitempty"`
    BucketKeyHash        string                 `sentinel:"" protobuf:"bytes,9,opt,name=bucket_key_hash,json=bucketKeyHash,proto3" json:"bucket_key_hash,omitempty"`
    MFASecrets           map[string]*mfa.Secret `sentinel:"" protobuf:"bytes,10,rep,name=mfa_secrets,json=mfaSecrets,proto3" json:"mfa_secrets,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}               `json:"-"`
    XXX_unrecognized     []byte                 `json:"-"`
    XXX_sizecache        int32                  `json:"-"`
}

Deprecated. Retained for backwards compatibility.

func (*EntityStorageEntry) Descriptor Uses

func (*EntityStorageEntry) Descriptor() ([]byte, []int)

func (*EntityStorageEntry) GetBucketKeyHash Uses

func (m *EntityStorageEntry) GetBucketKeyHash() string

func (*EntityStorageEntry) GetCreationTime Uses

func (m *EntityStorageEntry) GetCreationTime() *timestamp.Timestamp

func (*EntityStorageEntry) GetID Uses

func (m *EntityStorageEntry) GetID() string

func (*EntityStorageEntry) GetLastUpdateTime Uses

func (m *EntityStorageEntry) GetLastUpdateTime() *timestamp.Timestamp

func (*EntityStorageEntry) GetMFASecrets Uses

func (m *EntityStorageEntry) GetMFASecrets() map[string]*mfa.Secret

func (*EntityStorageEntry) GetMergedEntityIDs Uses

func (m *EntityStorageEntry) GetMergedEntityIDs() []string

func (*EntityStorageEntry) GetMetadata Uses

func (m *EntityStorageEntry) GetMetadata() map[string]string

func (*EntityStorageEntry) GetName Uses

func (m *EntityStorageEntry) GetName() string

func (*EntityStorageEntry) GetPersonas Uses

func (m *EntityStorageEntry) GetPersonas() []*PersonaIndexEntry

func (*EntityStorageEntry) GetPolicies Uses

func (m *EntityStorageEntry) GetPolicies() []string

func (*EntityStorageEntry) ProtoMessage Uses

func (*EntityStorageEntry) ProtoMessage()

func (*EntityStorageEntry) Reset Uses

func (m *EntityStorageEntry) Reset()

func (*EntityStorageEntry) String Uses

func (m *EntityStorageEntry) String() string

func (*EntityStorageEntry) XXX_DiscardUnknown Uses

func (m *EntityStorageEntry) XXX_DiscardUnknown()

func (*EntityStorageEntry) XXX_Marshal Uses

func (m *EntityStorageEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntityStorageEntry) XXX_Merge Uses

func (m *EntityStorageEntry) XXX_Merge(src proto.Message)

func (*EntityStorageEntry) XXX_Size Uses

func (m *EntityStorageEntry) XXX_Size() int

func (*EntityStorageEntry) XXX_Unmarshal Uses

func (m *EntityStorageEntry) XXX_Unmarshal(b []byte) error

type Group Uses

type Group struct {
    // ID is the unique identifier for this group
    ID  string `sentinel:"" protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    // Name is the unique name for this group
    Name string `sentinel:"" protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
    // Policies are the vault policies to be granted to members of this group
    Policies []string `sentinel:"" protobuf:"bytes,3,rep,name=policies,proto3" json:"policies,omitempty"`
    // ParentGroupIDs are the identifiers of those groups to which this group is a
    // member of. These will serve as references to the parent group in the
    // hierarchy.
    ParentGroupIDs []string `sentinel:"" protobuf:"bytes,4,rep,name=parent_group_ids,json=parentGroupIds,proto3" json:"parent_group_ids,omitempty"`
    // MemberEntityIDs are the identifiers of entities which are members of this
    // group
    MemberEntityIDs []string `sentinel:"" protobuf:"bytes,5,rep,name=member_entity_ids,json=memberEntityIDs,proto3" json:"member_entity_ids,omitempty"`
    // Metadata represents the custom data tied with this group
    Metadata map[string]string `sentinel:"" protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // CreationTime is the time at which this group was created
    CreationTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,7,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
    // LastUpdateTime is the time at which this group was last modified
    LastUpdateTime *timestamp.Timestamp `sentinel:"" protobuf:"bytes,8,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
    // ModifyIndex tracks the number of updates to the group. It is useful to detect
    // updates to the groups.
    ModifyIndex uint64 `sentinel:"" protobuf:"varint,9,opt,name=modify_index,json=modifyIndex,proto3" json:"modify_index,omitempty"`
    // BucketKey is the path of the storage packer key into which this group is
    // stored.
    BucketKey string `sentinel:"" protobuf:"bytes,10,opt,name=bucket_key,json=bucketKey,proto3" json:"bucket_key,omitempty"`
    // Alias is used to mark this group as an internal mapping of a group that
    // is external to the identity store. Alias can only be set if the 'type'
    // is set to 'external'.
    Alias *Alias `sentinel:"" protobuf:"bytes,11,opt,name=alias,proto3" json:"alias,omitempty"`
    // Type indicates if this group is an internal group or an external group.
    // Memberships of the internal groups can be managed over the API whereas
    // the memberships on the external group --for which a corresponding alias
    // will be set-- will be managed automatically.
    Type string `sentinel:"" protobuf:"bytes,12,opt,name=type,proto3" json:"type,omitempty"`
    // NamespaceID is the identifier of the namespace to which this group
    // belongs to. Do not return this value over the API when reading the
    // group.
    NamespaceID          string   `sentinel:"" protobuf:"bytes,13,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Group represents an identity group.

func (*Group) Clone Uses

func (g *Group) Clone() (*Group, error)

func (*Group) Descriptor Uses

func (*Group) Descriptor() ([]byte, []int)

func (*Group) GetAlias Uses

func (m *Group) GetAlias() *Alias

func (*Group) GetBucketKey Uses

func (m *Group) GetBucketKey() string

func (*Group) GetCreationTime Uses

func (m *Group) GetCreationTime() *timestamp.Timestamp

func (*Group) GetID Uses

func (m *Group) GetID() string

func (*Group) GetLastUpdateTime Uses

func (m *Group) GetLastUpdateTime() *timestamp.Timestamp

func (*Group) GetMemberEntityIDs Uses

func (m *Group) GetMemberEntityIDs() []string

func (*Group) GetMetadata Uses

func (m *Group) GetMetadata() map[string]string

func (*Group) GetModifyIndex Uses

func (m *Group) GetModifyIndex() uint64

func (*Group) GetName Uses

func (m *Group) GetName() string

func (*Group) GetNamespaceID Uses

func (m *Group) GetNamespaceID() string

func (*Group) GetParentGroupIDs Uses

func (m *Group) GetParentGroupIDs() []string

func (*Group) GetPolicies Uses

func (m *Group) GetPolicies() []string

func (*Group) GetType Uses

func (m *Group) GetType() string

func (*Group) ProtoMessage Uses

func (*Group) ProtoMessage()

func (*Group) Reset Uses

func (m *Group) Reset()

func (*Group) SentinelGet Uses

func (g *Group) SentinelGet(key string) (interface{}, error)

func (*Group) SentinelKeys Uses

func (g *Group) SentinelKeys() []string

func (*Group) String Uses

func (m *Group) String() string

func (*Group) XXX_DiscardUnknown Uses

func (m *Group) XXX_DiscardUnknown()

func (*Group) XXX_Marshal Uses

func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Group) XXX_Merge Uses

func (m *Group) XXX_Merge(src proto.Message)

func (*Group) XXX_Size Uses

func (m *Group) XXX_Size() int

func (*Group) XXX_Unmarshal Uses

func (m *Group) XXX_Unmarshal(b []byte) error

type PersonaIndexEntry Uses

type PersonaIndexEntry struct {
    ID                   string               `sentinel:"" protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
    EntityID             string               `sentinel:"" protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
    MountType            string               `sentinel:"" protobuf:"bytes,3,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
    MountAccessor        string               `sentinel:"" protobuf:"bytes,4,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
    MountPath            string               `sentinel:"" protobuf:"bytes,5,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
    Metadata             map[string]string    `sentinel:"" protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    Name                 string               `sentinel:"" protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
    CreationTime         *timestamp.Timestamp `sentinel:"" protobuf:"bytes,8,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
    LastUpdateTime       *timestamp.Timestamp `sentinel:"" protobuf:"bytes,9,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
    MergedFromEntityIDs  []string             `sentinel:"" protobuf:"bytes,10,rep,name=merged_from_entity_ids,json=mergedFromEntityIDs,proto3" json:"merged_from_entity_ids,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

Deprecated. Retained for backwards compatibility.

func (*PersonaIndexEntry) Descriptor Uses

func (*PersonaIndexEntry) Descriptor() ([]byte, []int)

func (*PersonaIndexEntry) GetCreationTime Uses

func (m *PersonaIndexEntry) GetCreationTime() *timestamp.Timestamp

func (*PersonaIndexEntry) GetEntityID Uses

func (m *PersonaIndexEntry) GetEntityID() string

func (*PersonaIndexEntry) GetID Uses

func (m *PersonaIndexEntry) GetID() string

func (*PersonaIndexEntry) GetLastUpdateTime Uses

func (m *PersonaIndexEntry) GetLastUpdateTime() *timestamp.Timestamp

func (*PersonaIndexEntry) GetMergedFromEntityIDs Uses

func (m *PersonaIndexEntry) GetMergedFromEntityIDs() []string

func (*PersonaIndexEntry) GetMetadata Uses

func (m *PersonaIndexEntry) GetMetadata() map[string]string

func (*PersonaIndexEntry) GetMountAccessor Uses

func (m *PersonaIndexEntry) GetMountAccessor() string

func (*PersonaIndexEntry) GetMountPath Uses

func (m *PersonaIndexEntry) GetMountPath() string

func (*PersonaIndexEntry) GetMountType Uses

func (m *PersonaIndexEntry) GetMountType() string

func (*PersonaIndexEntry) GetName Uses

func (m *PersonaIndexEntry) GetName() string

func (*PersonaIndexEntry) ProtoMessage Uses

func (*PersonaIndexEntry) ProtoMessage()

func (*PersonaIndexEntry) Reset Uses

func (m *PersonaIndexEntry) Reset()

func (*PersonaIndexEntry) String Uses

func (m *PersonaIndexEntry) String() string

func (*PersonaIndexEntry) XXX_DiscardUnknown Uses

func (m *PersonaIndexEntry) XXX_DiscardUnknown()

func (*PersonaIndexEntry) XXX_Marshal Uses

func (m *PersonaIndexEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PersonaIndexEntry) XXX_Merge Uses

func (m *PersonaIndexEntry) XXX_Merge(src proto.Message)

func (*PersonaIndexEntry) XXX_Size Uses

func (m *PersonaIndexEntry) XXX_Size() int

func (*PersonaIndexEntry) XXX_Unmarshal Uses

func (m *PersonaIndexEntry) XXX_Unmarshal(b []byte) error

type PopulateStringInput Uses

type PopulateStringInput struct {
    String            string
    ValidityCheckOnly bool
    Entity            *Entity
    Groups            []*Group
    Namespace         *namespace.Namespace
    Mode              int       // processing mode, ACLTemplate or JSONTemplating
    Now               time.Time // optional, defaults to current time
    // contains filtered or unexported fields
}

Directories

PathSynopsis
mfa

Package identity imports 13 packages (graph) and is imported by 3 packages. Updated 2019-07-25. Refresh now. Tools for package owners.