1. Packages
  2. Volcengine
  3. API Docs
  4. iam
  5. CallerIdentities
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.iam.CallerIdentities has been deprecated in favor of volcengine.iam.getCallerIdentities

    Use this data source to query detailed information of iam caller identities

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.iam.getCallerIdentities({});
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.iam.get_caller_identities()
    
    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.GetCallerIdentities(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Iam.GetCallerIdentities.Invoke();
    
    });
    
    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.GetCallerIdentitiesArgs;
    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 default = IamFunctions.getCallerIdentities();
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:iam:getCallerIdentities
          Arguments: {}
    

    Using CallerIdentities

    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 callerIdentities(args: CallerIdentitiesArgs, opts?: InvokeOptions): Promise<CallerIdentitiesResult>
    function callerIdentitiesOutput(args: CallerIdentitiesOutputArgs, opts?: InvokeOptions): Output<CallerIdentitiesResult>
    def caller_identities(output_file: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> CallerIdentitiesResult
    def caller_identities_output(output_file: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[CallerIdentitiesResult]
    func CallerIdentities(ctx *Context, args *CallerIdentitiesArgs, opts ...InvokeOption) (*CallerIdentitiesResult, error)
    func CallerIdentitiesOutput(ctx *Context, args *CallerIdentitiesOutputArgs, opts ...InvokeOption) CallerIdentitiesResultOutput
    public static class CallerIdentities 
    {
        public static Task<CallerIdentitiesResult> InvokeAsync(CallerIdentitiesArgs args, InvokeOptions? opts = null)
        public static Output<CallerIdentitiesResult> Invoke(CallerIdentitiesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<CallerIdentitiesResult> callerIdentities(CallerIdentitiesArgs args, InvokeOptions options)
    public static Output<CallerIdentitiesResult> callerIdentities(CallerIdentitiesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:iam:CallerIdentities
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OutputFile string
    File name where to save data source results.
    OutputFile string
    File name where to save data source results.
    outputFile String
    File name where to save data source results.
    outputFile string
    File name where to save data source results.
    output_file str
    File name where to save data source results.
    outputFile String
    File name where to save data source results.

    CallerIdentities Result

    The following output properties are available:

    CallerIdentities List<CallerIdentitiesCallerIdentity>
    The collection of caller identities.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    OutputFile string
    CallerIdentities []CallerIdentitiesCallerIdentity
    The collection of caller identities.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    OutputFile string
    callerIdentities List<CallerIdentitiesCallerIdentity>
    The collection of caller identities.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    outputFile String
    callerIdentities CallerIdentitiesCallerIdentity[]
    The collection of caller identities.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    outputFile string
    caller_identities Sequence[CallerIdentitiesCallerIdentity]
    The collection of caller identities.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    output_file str
    callerIdentities List<Property Map>
    The collection of caller identities.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    outputFile String

    Supporting Types

    CallerIdentitiesCallerIdentity

    AccountId string
    The account id.
    IdentityId string
    The identity id.
    IdentityType string
    The identity type.
    Trn string
    The trn.
    AccountId string
    The account id.
    IdentityId string
    The identity id.
    IdentityType string
    The identity type.
    Trn string
    The trn.
    accountId String
    The account id.
    identityId String
    The identity id.
    identityType String
    The identity type.
    trn String
    The trn.
    accountId string
    The account id.
    identityId string
    The identity id.
    identityType string
    The identity type.
    trn string
    The trn.
    account_id str
    The account id.
    identity_id str
    The identity id.
    identity_type str
    The identity type.
    trn str
    The trn.
    accountId String
    The account id.
    identityId String
    The identity id.
    identityType String
    The identity type.
    trn String
    The trn.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate