coder 2.4.0-pre1 published on Tuesday, Apr 15, 2025 by coder
coder.getWorkspaceOwner
Explore with Pulumi AI
Use this data source to fetch information about the workspace owner.
Using getWorkspaceOwner
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 getWorkspaceOwner(opts?: InvokeOptions): Promise<GetWorkspaceOwnerResult>
function getWorkspaceOwnerOutput(opts?: InvokeOptions): Output<GetWorkspaceOwnerResult>
def get_workspace_owner(opts: Optional[InvokeOptions] = None) -> GetWorkspaceOwnerResult
def get_workspace_owner_output(opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceOwnerResult]
func GetWorkspaceOwner(ctx *Context, opts ...InvokeOption) (*GetWorkspaceOwnerResult, error)
func GetWorkspaceOwnerOutput(ctx *Context, opts ...InvokeOption) GetWorkspaceOwnerResultOutput
> Note: This function is named GetWorkspaceOwner
in the Go SDK.
public static class GetWorkspaceOwner
{
public static Task<GetWorkspaceOwnerResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetWorkspaceOwnerResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkspaceOwnerResult> getWorkspaceOwner(InvokeOptions options)
public static Output<GetWorkspaceOwnerResult> getWorkspaceOwner(InvokeOptions options)
fn::invoke:
function: coder:index/getWorkspaceOwner:getWorkspaceOwner
arguments:
# arguments dictionary
getWorkspaceOwner Result
The following output properties are available:
- Email string
- The email address of the user.
- Full
Name string - The full name of the user.
- Groups List<string>
- The groups of which the user is a member.
- Id string
- The UUID of the workspace owner.
- Login
Type string - The type of login the user has.
- Name string
- The username of the user.
- Oidc
Access stringToken - A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
- Rbac
Roles List<GetWorkspace Owner Rbac Role> - The RBAC roles of which the user is assigned.
- Session
Token string - Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
- Ssh
Private stringKey - The user's generated SSH private key.
- Ssh
Public stringKey - The user's generated SSH public key.
- Email string
- The email address of the user.
- Full
Name string - The full name of the user.
- Groups []string
- The groups of which the user is a member.
- Id string
- The UUID of the workspace owner.
- Login
Type string - The type of login the user has.
- Name string
- The username of the user.
- Oidc
Access stringToken - A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
- Rbac
Roles []GetWorkspace Owner Rbac Role - The RBAC roles of which the user is assigned.
- Session
Token string - Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
- Ssh
Private stringKey - The user's generated SSH private key.
- Ssh
Public stringKey - The user's generated SSH public key.
- email String
- The email address of the user.
- full
Name String - The full name of the user.
- groups List<String>
- The groups of which the user is a member.
- id String
- The UUID of the workspace owner.
- login
Type String - The type of login the user has.
- name String
- The username of the user.
- oidc
Access StringToken - A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
- rbac
Roles List<GetWorkspace Owner Rbac Role> - The RBAC roles of which the user is assigned.
- session
Token String - Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
- ssh
Private StringKey - The user's generated SSH private key.
- ssh
Public StringKey - The user's generated SSH public key.
- email string
- The email address of the user.
- full
Name string - The full name of the user.
- groups string[]
- The groups of which the user is a member.
- id string
- The UUID of the workspace owner.
- login
Type string - The type of login the user has.
- name string
- The username of the user.
- oidc
Access stringToken - A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
- rbac
Roles GetWorkspace Owner Rbac Role[] - The RBAC roles of which the user is assigned.
- session
Token string - Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
- ssh
Private stringKey - The user's generated SSH private key.
- ssh
Public stringKey - The user's generated SSH public key.
- email str
- The email address of the user.
- full_
name str - The full name of the user.
- groups Sequence[str]
- The groups of which the user is a member.
- id str
- The UUID of the workspace owner.
- login_
type str - The type of login the user has.
- name str
- The username of the user.
- oidc_
access_ strtoken - A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
- rbac_
roles Sequence[GetWorkspace Owner Rbac Role] - The RBAC roles of which the user is assigned.
- session_
token str - Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
- ssh_
private_ strkey - The user's generated SSH private key.
- ssh_
public_ strkey - The user's generated SSH public key.
- email String
- The email address of the user.
- full
Name String - The full name of the user.
- groups List<String>
- The groups of which the user is a member.
- id String
- The UUID of the workspace owner.
- login
Type String - The type of login the user has.
- name String
- The username of the user.
- oidc
Access StringToken - A valid OpenID Connect access token of the workspace owner. This is only available if the workspace owner authenticated with OpenID Connect. If a valid token cannot be obtained, this value will be an empty string.
- rbac
Roles List<Property Map> - The RBAC roles of which the user is assigned.
- session
Token String - Session token for authenticating with a Coder deployment. It is regenerated every time a workspace is started.
- ssh
Private StringKey - The user's generated SSH private key.
- ssh
Public StringKey - The user's generated SSH public key.
Supporting Types
GetWorkspaceOwnerRbacRole
Package Details
- Repository
- coder coder/terraform-provider-coder
- License
- Notes
- This Pulumi package is based on the
coder
Terraform Provider.