1. Packages
  2. Volcengine
  3. API Docs
  4. iam
  5. getSecurityConfigs
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

    Use this data source to query detailed information of iam security configs

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.iam.getSecurityConfigs({
        userName: "jonny",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.iam.get_security_configs(user_name="jonny")
    
    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.GetSecurityConfigs(ctx, &iam.GetSecurityConfigsArgs{
    			UserName: "jonny",
    		}, 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.GetSecurityConfigs.Invoke(new()
        {
            UserName = "jonny",
        });
    
    });
    
    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.GetSecurityConfigsArgs;
    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.getSecurityConfigs(GetSecurityConfigsArgs.builder()
                .userName("jonny")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:iam:getSecurityConfigs
          Arguments:
            userName: jonny
    

    Using getSecurityConfigs

    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 getSecurityConfigs(args: GetSecurityConfigsArgs, opts?: InvokeOptions): Promise<GetSecurityConfigsResult>
    function getSecurityConfigsOutput(args: GetSecurityConfigsOutputArgs, opts?: InvokeOptions): Output<GetSecurityConfigsResult>
    def get_security_configs(output_file: Optional[str] = None,
                             user_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetSecurityConfigsResult
    def get_security_configs_output(output_file: Optional[pulumi.Input[str]] = None,
                             user_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetSecurityConfigsResult]
    func GetSecurityConfigs(ctx *Context, args *GetSecurityConfigsArgs, opts ...InvokeOption) (*GetSecurityConfigsResult, error)
    func GetSecurityConfigsOutput(ctx *Context, args *GetSecurityConfigsOutputArgs, opts ...InvokeOption) GetSecurityConfigsResultOutput

    > Note: This function is named GetSecurityConfigs in the Go SDK.

    public static class GetSecurityConfigs 
    {
        public static Task<GetSecurityConfigsResult> InvokeAsync(GetSecurityConfigsArgs args, InvokeOptions? opts = null)
        public static Output<GetSecurityConfigsResult> Invoke(GetSecurityConfigsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecurityConfigsResult> getSecurityConfigs(GetSecurityConfigsArgs args, InvokeOptions options)
    public static Output<GetSecurityConfigsResult> getSecurityConfigs(GetSecurityConfigsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:iam/getSecurityConfigs:getSecurityConfigs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    UserName string
    The user name.
    OutputFile string
    File name where to save data source results.
    UserName string
    The user name.
    OutputFile string
    File name where to save data source results.
    userName String
    The user name.
    outputFile String
    File name where to save data source results.
    userName string
    The user name.
    outputFile string
    File name where to save data source results.
    user_name str
    The user name.
    output_file str
    File name where to save data source results.
    userName String
    The user name.
    outputFile String
    File name where to save data source results.

    getSecurityConfigs Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    SecurityConfigs List<GetSecurityConfigsSecurityConfig>
    The collection of security configs.
    UserName string
    The user name.
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    SecurityConfigs []GetSecurityConfigsSecurityConfig
    The collection of security configs.
    UserName string
    The user name.
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    securityConfigs List<GetSecurityConfigsSecurityConfig>
    The collection of security configs.
    userName String
    The user name.
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    securityConfigs GetSecurityConfigsSecurityConfig[]
    The collection of security configs.
    userName string
    The user name.
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    security_configs Sequence[GetSecurityConfigsSecurityConfig]
    The collection of security configs.
    user_name str
    The user name.
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    securityConfigs List<Property Map>
    The collection of security configs.
    userName String
    The user name.
    outputFile String

    Supporting Types

    GetSecurityConfigsSecurityConfig

    SafeAuthClose int
    The status of safe auth.
    SafeAuthExemptDuration int
    The exempt duration of safe auth.
    SafeAuthType string
    The type of safe auth.
    UserId int
    The user id.
    UserName string
    The user name.
    SafeAuthClose int
    The status of safe auth.
    SafeAuthExemptDuration int
    The exempt duration of safe auth.
    SafeAuthType string
    The type of safe auth.
    UserId int
    The user id.
    UserName string
    The user name.
    safeAuthClose Integer
    The status of safe auth.
    safeAuthExemptDuration Integer
    The exempt duration of safe auth.
    safeAuthType String
    The type of safe auth.
    userId Integer
    The user id.
    userName String
    The user name.
    safeAuthClose number
    The status of safe auth.
    safeAuthExemptDuration number
    The exempt duration of safe auth.
    safeAuthType string
    The type of safe auth.
    userId number
    The user id.
    userName string
    The user name.
    safe_auth_close int
    The status of safe auth.
    safe_auth_exempt_duration int
    The exempt duration of safe auth.
    safe_auth_type str
    The type of safe auth.
    user_id int
    The user id.
    user_name str
    The user name.
    safeAuthClose Number
    The status of safe auth.
    safeAuthExemptDuration Number
    The exempt duration of safe auth.
    safeAuthType String
    The type of safe auth.
    userId Number
    The user id.
    userName String
    The user name.

    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