tis-saml2aws icon

saml2aws

Paquet d’installation silencieuse pour saml2aws

2.36.19-1

  • package: tis-saml2aws
  • name: saml2aws
  • version: 2.36.19-1
  • maintainer: Amel FRADJ
  • licence: MIT license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 5.90 Mo
  • homepage : github.com/Versent/saml2aws

package           : tis-saml2aws
version           : 2.36.19-1
architecture      : x64
section           : base
priority          : optional
name              : saml2aws
categories        : 
maintainer        : Amel FRADJ
description       : CLI tool which enables you to login and retrieve Amazon Web Services / AWS temporary credentials using a SAML IDP
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Outil CLI qui vous permet de vous connecter et de récupérer les informations d'identification temporaires d'Amazon Web Services / AWS à l'aide d'un IDP SAML
description_pl    : Narzędzie CLI, które umożliwia logowanie i pobieranie tymczasowych poświadczeń Amazon Web Services / AWS przy użyciu SAML IDP
description_de    : CLI-Tool, mit dem Sie sich bei Amazon Web Services / AWS anmelden und temporäre Anmeldedaten über einen SAML-IDP abrufen können
description_es    : Herramienta CLI que permite iniciar sesión y recuperar credenciales temporales de Amazon Web Services / AWS mediante un IDP SAML
description_pt    : Ferramenta CLI que permite iniciar sessão e recuperar credenciais temporárias do Amazon Web Services / AWS utilizando um IDP SAML
description_it    : Strumento CLI che consente di accedere e recuperare le credenziali temporanee di Amazon Web Services / AWS utilizzando un IDP SAML
description_nl    : CLI-tool waarmee je kunt inloggen en tijdelijke referenties van Amazon Web Services / AWS kunt ophalen met behulp van een SAML IDP
description_ru    : CLI-инструмент, позволяющий входить в систему и получать временные учетные данные Amazon Web Services / AWS с помощью SAML IDP
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT license
homepage          : github.com/Versent/saml2aws
package_uuid      : c55ca7b1-2c5c-4c20-a73a-ea14e3e33a0f
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d01866d209b0960335350c6b110d6e850c46cc54a8720eb93230b617a2d00d87
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-19T20:41:58.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : wC2mRcGuNkrLSfjVNC/HTXoR8IyjPVEziskULCvJm7lkDjBsHC+cEuqQogVD4Y6AjC8fUBTM9bcnhma+pZsAmOkprmlAkR7YiPmjkDlB+eB0ft5XAEl8hQbFB2z+T/3XKhBX/Fc0zuAFJnBxu/u/I04LllzWujf2yPrfb/atlVbFv580n/OMaPILTW0irlaewNwkx9RevEe7MHrmuVPWcIErEHjcjnwtkKwe5JYPJsSB9Wov50B1qBWlJ0jede/Hvgs48nfdDp4BeU87dlgecKfO8JXCd+ZapI1Hk/ll4VDoOHs1dyl0yIejQE7Ij1Rj6IKYD3trI2wMSXtJ7A7SOg==

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    for soft in installed_softwares('saml2aws'):
        if Version(soft['version']) < Version(control.get_software_version()):
            run(uninstall_cmd(soft['key']))

    bin_name = glob.glob('saml2aws_*_windows_amd64.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



# -*- coding: utf-8 -*-
from setuphelpers import *
import re


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    
 
    git_repo = "Versent/saml2aws"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith(".msi"):
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.msi'):
        if f != filename:
            remove_file(f)
    
    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bbf9427b118e510b381ba8007458f51c9743a2e4d357e958d660ff4c69ed3c4b : WAPT/control
d01866d209b0960335350c6b110d6e850c46cc54a8720eb93230b617a2d00d87 : WAPT/icon.png
a2bda123580688f4ff39cc15f20df3f77e078e4861e746cde2ffdda990d54f67 : luti.json
e78ec324f040047a36e6de3b61bff8de5b4f6d093f0f3070539a54121cb88b00 : saml2aws_2.36.19_windows_amd64.msi
035f4cebe025b3e89fd7ccbc0ef5af10113f7e7b4bcfc0c054ee016bf156180e : setup.py
64745863a4a123a7c6aee4da7432858d9d8715874da6861d96cc36c19d24bb68 : update_package.py