You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -11794,25 +11794,42 @@ function Global:Get-SgwTopologyHealth {
11794
11794
11795
11795
## identity-source ##
11796
11796
11797
-
# complete as of API 2.1
11797
+
# complete as of API 2.2
11798
11798
11799
11799
<#
11800
11800
.SYNOPSIS
11801
11801
Retrieve identity sources
11802
11802
.DESCRIPTION
11803
11803
Retrieve identity sources
11804
+
.PARAMETER Server
11805
+
StorageGRID Webscale Management Server object. If not specified, global CurrentSgwServer object will be used.
11806
+
.PARAMETER ProfileName
11807
+
StorageGRID Profile to use for connection.
11804
11808
#>
11805
11809
function Global:Get-SgwIdentitySources {
11806
11810
[CmdletBinding()]
11807
11811
11808
11812
PARAM (
11809
-
[parameter(
11810
-
Mandatory = $False,
11813
+
[parameter(Mandatory = $False,
11811
11814
Position = 0,
11812
-
HelpMessage = "StorageGRID Webscale Management Server object. If not specified, global CurrentSgwServer object will be used.")][PSCustomObject]$Server
11815
+
HelpMessage = "StorageGRID Webscale Management Server object. If not specified, global CurrentSgwServer object will be used.")][PSCustomObject]$Server,
11816
+
[parameter(Mandatory = $False,
11817
+
Position = 1,
11818
+
HelpMessage = "StorageGRID Profile to use for connection.")][Alias("Profile")][String]$ProfileName
11813
11819
)
11814
11820
11815
11821
Begin {
11822
+
if (!$ProfileName -and !$Server -and !$CurrentSgwServer.Name) {
StorageGRID Webscale Management Server object. If not specified, global CurrentSgwServer object will be used.
11871
+
.PARAMETER ProfileName
11872
+
StorageGRID Profile to use for connection.
11873
+
.PARAMETER Id
11874
+
A unique identifier for the identity source (automatically assigned when the identity source is configured)
11875
+
.PARAMETER Disable
11876
+
Disable Identity Source ID
11877
+
.PARAMETER Hostname
11878
+
Server hostname or IP address of the identity source
11879
+
.PARAMETER Port
11880
+
Port to use to connect to the identity source
11881
+
.PARAMETER Credential
11882
+
Username and password to use to access the identity source
11883
+
.PARAMETER BaseGroupDN
11884
+
Fully qualified Distinguished Name (DN) of an LDAP subtree to be used to search for groups
11885
+
.PARAMETER BaseUserDN
11886
+
Fully qualified Distinguished Name (DN) of an LDAP subtree to be used to search for users
11887
+
.PARAMETER LdapServiceType
11888
+
Identity Source LDAP Service Type
11889
+
.PARAMETER Type
11890
+
Identity Source Type
11891
+
.PARAMETER LDAPUserIDAttribute
11892
+
LDAP attribute that identifies the LDAP user who attempts authentication with unique name/login (only required when ldapServiceType is 'Other')
11893
+
.PARAMETER LDAPUserUUIDAttribute
11894
+
LDAP attribute that identifies the LDAP user’s permanent unique identity (only required when ldapServiceType is 'Other')
11895
+
.PARAMETER LDAPGroupIDAttribute
11896
+
LDAP attribute that identifies the LDAP group of the user who attempts authentication (only required when ldapServiceType is 'Other')
11897
+
.PARAMETER LDAPGroupUUIDAttribute
11898
+
LDAP attribute that identifies the LDAP group’s permanent unique identity (only required when ldapServiceType is 'Other')
11899
+
.PARAMETER DisableTLS
11900
+
Disable Transport Layer Security (TLS) when connecting to the identity source server
11901
+
.PARAMETER CACertificate
11902
+
Custom CA certificate to use to connect to the identity source server (if no custom certificate is supplied and TLS is enabled, the Operating System CA certificate will be used)
HelpMessage = "StorageGRID Webscale Management Server object. If not specified, global CurrentSgwServer object will be used.")][PSCustomObject]$Server,
HelpMessage = "Identity Source LDAP User UUID Attribute")][String]$LDAPUserUUIDAttribute,
11954
+
HelpMessage = "LDAP attribute that identifies the LDAP user who attempts authentication with unique name/login (only required when ldapServiceType is 'Other')")][String]$LDAPUserIDAttribute,
11902
11955
[parameter(
11903
11956
Mandatory = $False,
11904
11957
Position = 12,
11905
-
HelpMessage = "Identity Source LDAP Group ID Attribute")][String]$LDAPGroupIDAttribute,
11958
+
HelpMessage = "LDAP attribute that identifies the LDAP user’s permanent unique identity (only required when ldapServiceType is 'Other')")][String]$LDAPUserUUIDAttribute,
HelpMessage = "LDAP attribute that identifies the LDAP group of the user who attempts authentication (only required when ldapServiceType is 'Other')")][String]$LDAPGroupIDAttribute,
11910
11963
[parameter(
11911
11964
Mandatory = $False,
11912
11965
Position = 14,
11913
-
HelpMessage = "Identity Source CA Certificate")][String]$CACertificate,
11966
+
HelpMessage = "LDAP attribute that identifies the LDAP group’s permanent unique identity (only required when ldapServiceType is 'Other')")][String]$LDAPGroupUUIDAttribute,
11914
11967
[parameter(
11915
11968
Mandatory = $False,
11916
11969
Position = 15,
11917
-
HelpMessage = "StorageGRID Webscale Management Server object. If not specified, global CurrentSgwServer object will be used.")][PSCustomObject]$Server
11970
+
HelpMessage = "Disable Transport Layer Security (TLS) when connecting to the identity source server")][Switch]$DisableTLS,
11971
+
[parameter(
11972
+
Mandatory = $False,
11973
+
Position = 16,
11974
+
HelpMessage = "Custom CA certificate to use to connect to the identity source server (if no custom certificate is supplied and TLS is enabled, the Operating System CA certificate will be used)")][String]$CACertificate
11918
11975
)
11919
11976
11920
11977
Begin {
11978
+
if (!$ProfileName -and !$Server -and !$CurrentSgwServer.Name) {
@@ -11974,21 +12042,34 @@ function Global:Update-SgwIdentitySources {
11974
12042
11975
12043
<#
11976
12044
.SYNOPSIS
11977
-
Retrieve identity sources
12045
+
Request that users and groups from the identity source be synchronized as soon as possible
11978
12046
.DESCRIPTION
11979
-
Retrieve identity sources
12047
+
Request that users and groups from the identity source be synchronized as soon as possible
11980
12048
#>
11981
12049
function Global:Sync-SgwIdentitySources {
11982
12050
[CmdletBinding()]
11983
12051
11984
12052
PARAM (
11985
-
[parameter(
11986
-
Mandatory = $False,
12053
+
[parameter(Mandatory = $False,
11987
12054
Position = 0,
11988
-
HelpMessage = "StorageGRID Webscale Management Server object. If not specified, global CurrentSgwServer object will be used.")][PSCustomObject]$Server
12055
+
HelpMessage = "StorageGRID Webscale Management Server object. If not specified, global CurrentSgwServer object will be used.")][PSCustomObject]$Server,
12056
+
[parameter(Mandatory = $False,
12057
+
Position = 1,
12058
+
HelpMessage = "StorageGRID Profile to use for connection.")][Alias("Profile")][String]$ProfileName
11989
12059
)
11990
12060
11991
12061
Begin {
12062
+
if (!$ProfileName -and !$Server -and !$CurrentSgwServer.Name) {
0 commit comments