nexus 2.6.0 published on Thursday, May 8, 2025 by datadrivers
nexus 2.6.0 published on Thursday, May 8, 2025 by datadrivers
PRO Feature
Use this data source to get the saml configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nexus from "@pulumi/nexus";
const saml = nexus.getSecuritySaml({});
export const samlEntityId = saml.then(saml => saml.entityId);
import pulumi
import pulumi_nexus as nexus
saml = nexus.get_security_saml()
pulumi.export("samlEntityId", saml.entity_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/nexus/v2/nexus"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
saml, err := nexus.LookupSecuritySaml(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
ctx.Export("samlEntityId", saml.EntityId)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nexus = Pulumi.Nexus;
return await Deployment.RunAsync(() =>
{
var saml = Nexus.GetSecuritySaml.Invoke();
return new Dictionary<string, object?>
{
["samlEntityId"] = saml.Apply(getSecuritySamlResult => getSecuritySamlResult.EntityId),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nexus.NexusFunctions;
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 saml = NexusFunctions.getSecuritySaml();
ctx.export("samlEntityId", saml.applyValue(getSecuritySamlResult -> getSecuritySamlResult.entityId()));
}
}
variables:
saml:
fn::invoke:
function: nexus:getSecuritySaml
arguments: {}
outputs:
samlEntityId: ${saml.entityId}
Using getSecuritySaml
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 getSecuritySaml(opts?: InvokeOptions): Promise<GetSecuritySamlResult>
function getSecuritySamlOutput(opts?: InvokeOptions): Output<GetSecuritySamlResult>def get_security_saml(opts: Optional[InvokeOptions] = None) -> GetSecuritySamlResult
def get_security_saml_output(opts: Optional[InvokeOptions] = None) -> Output[GetSecuritySamlResult]func LookupSecuritySaml(ctx *Context, opts ...InvokeOption) (*LookupSecuritySamlResult, error)
func LookupSecuritySamlOutput(ctx *Context, opts ...InvokeOption) LookupSecuritySamlResultOutput> Note: This function is named LookupSecuritySaml in the Go SDK.
public static class GetSecuritySaml
{
public static Task<GetSecuritySamlResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetSecuritySamlResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetSecuritySamlResult> getSecuritySaml(InvokeOptions options)
public static Output<GetSecuritySamlResult> getSecuritySaml(InvokeOptions options)
fn::invoke:
function: nexus:index/getSecuritySaml:getSecuritySaml
arguments:
# arguments dictionarygetSecuritySaml Result
The following output properties are available:
- Email
Attribute string - IdP field mappings for user's email address
- Entity
Id string - Entity ID URI
- First
Name stringAttribute - IdP field mappings for user's given name
- Groups
Attribute string - IdP field mappings for user's groups
- Id string
- Used to identify data source at nexus
- Idp
Metadata string - SAML Identity Provider Metadata XML
- Last
Name stringAttribute - IdP field mappings for user's family name
- Username
Attribute string - IdP field mappings for username
- Validate
Assertion boolSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the assertions.
- Validate
Response boolSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the response.
- Email
Attribute string - IdP field mappings for user's email address
- Entity
Id string - Entity ID URI
- First
Name stringAttribute - IdP field mappings for user's given name
- Groups
Attribute string - IdP field mappings for user's groups
- Id string
- Used to identify data source at nexus
- Idp
Metadata string - SAML Identity Provider Metadata XML
- Last
Name stringAttribute - IdP field mappings for user's family name
- Username
Attribute string - IdP field mappings for username
- Validate
Assertion boolSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the assertions.
- Validate
Response boolSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the response.
- email
Attribute String - IdP field mappings for user's email address
- entity
Id String - Entity ID URI
- first
Name StringAttribute - IdP field mappings for user's given name
- groups
Attribute String - IdP field mappings for user's groups
- id String
- Used to identify data source at nexus
- idp
Metadata String - SAML Identity Provider Metadata XML
- last
Name StringAttribute - IdP field mappings for user's family name
- username
Attribute String - IdP field mappings for username
- validate
Assertion BooleanSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the assertions.
- validate
Response BooleanSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the response.
- email
Attribute string - IdP field mappings for user's email address
- entity
Id string - Entity ID URI
- first
Name stringAttribute - IdP field mappings for user's given name
- groups
Attribute string - IdP field mappings for user's groups
- id string
- Used to identify data source at nexus
- idp
Metadata string - SAML Identity Provider Metadata XML
- last
Name stringAttribute - IdP field mappings for user's family name
- username
Attribute string - IdP field mappings for username
- validate
Assertion booleanSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the assertions.
- validate
Response booleanSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the response.
- email_
attribute str - IdP field mappings for user's email address
- entity_
id str - Entity ID URI
- first_
name_ strattribute - IdP field mappings for user's given name
- groups_
attribute str - IdP field mappings for user's groups
- id str
- Used to identify data source at nexus
- idp_
metadata str - SAML Identity Provider Metadata XML
- last_
name_ strattribute - IdP field mappings for user's family name
- username_
attribute str - IdP field mappings for username
- validate_
assertion_ boolsignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the assertions.
- validate_
response_ boolsignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the response.
- email
Attribute String - IdP field mappings for user's email address
- entity
Id String - Entity ID URI
- first
Name StringAttribute - IdP field mappings for user's given name
- groups
Attribute String - IdP field mappings for user's groups
- id String
- Used to identify data source at nexus
- idp
Metadata String - SAML Identity Provider Metadata XML
- last
Name StringAttribute - IdP field mappings for user's family name
- username
Attribute String - IdP field mappings for username
- validate
Assertion BooleanSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the assertions.
- validate
Response BooleanSignature - By default, if a signing key is found in the IdP metadata, then NXRM will attempt to validate signatures on the response.
Package Details
- Repository
- nexus datadrivers/terraform-provider-nexus
- License
- Notes
- This Pulumi package is based on the
nexusTerraform Provider.
nexus 2.6.0 published on Thursday, May 8, 2025 by datadrivers
