Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.iam.AccessKeys
Explore with Pulumi AI
Use this data source to query detailed information of iam access keys
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Iam.AccessKeys.Invoke();
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/iam"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.AccessKeys(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.iam.IamFunctions;
import com.pulumi.volcengine.iam.inputs.AccessKeysArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = IamFunctions.AccessKeys();
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.iam.access_keys()
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.iam.AccessKeys({});
variables:
foo:
fn::invoke:
Function: volcengine:iam:AccessKeys
Arguments: {}
Using AccessKeys
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 accessKeys(args: AccessKeysArgs, opts?: InvokeOptions): Promise<AccessKeysResult>
function accessKeysOutput(args: AccessKeysOutputArgs, opts?: InvokeOptions): Output<AccessKeysResult>
def access_keys(name_regex: Optional[str] = None,
output_file: Optional[str] = None,
user_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> AccessKeysResult
def access_keys_output(name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
user_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[AccessKeysResult]
func AccessKeys(ctx *Context, args *AccessKeysArgs, opts ...InvokeOption) (*AccessKeysResult, error)
func AccessKeysOutput(ctx *Context, args *AccessKeysOutputArgs, opts ...InvokeOption) AccessKeysResultOutput
public static class AccessKeys
{
public static Task<AccessKeysResult> InvokeAsync(AccessKeysArgs args, InvokeOptions? opts = null)
public static Output<AccessKeysResult> Invoke(AccessKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<AccessKeysResult> accessKeys(AccessKeysArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:iam:AccessKeys
arguments:
# arguments dictionary
The following arguments are supported:
- Name
Regex string - A Name Regex of IAM.
- Output
File string - File name where to save data source results.
- User
Name string - The user names.
- Name
Regex string - A Name Regex of IAM.
- Output
File string - File name where to save data source results.
- User
Name string - The user names.
- name
Regex String - A Name Regex of IAM.
- output
File String - File name where to save data source results.
- user
Name String - The user names.
- name
Regex string - A Name Regex of IAM.
- output
File string - File name where to save data source results.
- user
Name string - The user names.
- name_
regex str - A Name Regex of IAM.
- output_
file str - File name where to save data source results.
- user_
name str - The user names.
- name
Regex String - A Name Regex of IAM.
- output
File String - File name where to save data source results.
- user
Name String - The user names.
AccessKeys Result
The following output properties are available:
- Access
Key List<AccessMetadatas Keys Access Key Metadata> - The collection of access keys.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of user query.
- Name
Regex string - Output
File string - User
Name string - The user name.
- Access
Key []AccessMetadatas Keys Access Key Metadata - The collection of access keys.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of user query.
- Name
Regex string - Output
File string - User
Name string - The user name.
- access
Key List<AccessMetadatas Keys Access Key Metadata> - The collection of access keys.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of user query.
- name
Regex String - output
File String - user
Name String - The user name.
- access
Key AccessMetadatas Keys Access Key Metadata[] - The collection of access keys.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of user query.
- name
Regex string - output
File string - user
Name string - The user name.
- access_
key_ Sequence[Accessmetadatas Keys Access Key Metadata] - The collection of access keys.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of user query.
- name_
regex str - output_
file str - user_
name str - The user name.
- access
Key List<Property Map>Metadatas - The collection of access keys.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of user query.
- name
Regex String - output
File String - user
Name String - The user name.
Supporting Types
AccessKeysAccessKeyMetadata
- Access
Key stringId - The user access key id.
- Create
Date string - The user access key create date.
- Status string
- The user access key status.
- Update
Date string - The user access key update date.
- User
Name string - The user names.
- Access
Key stringId - The user access key id.
- Create
Date string - The user access key create date.
- Status string
- The user access key status.
- Update
Date string - The user access key update date.
- User
Name string - The user names.
- access
Key StringId - The user access key id.
- create
Date String - The user access key create date.
- status String
- The user access key status.
- update
Date String - The user access key update date.
- user
Name String - The user names.
- access
Key stringId - The user access key id.
- create
Date string - The user access key create date.
- status string
- The user access key status.
- update
Date string - The user access key update date.
- user
Name string - The user names.
- access_
key_ strid - The user access key id.
- create_
date str - The user access key create date.
- status str
- The user access key status.
- update_
date str - The user access key update date.
- user_
name str - The user names.
- access
Key StringId - The user access key id.
- create
Date String - The user access key create date.
- status String
- The user access key status.
- update
Date String - The user access key update date.
- user
Name String - The user names.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.